---
title: "LoadFromJsonFile"
url: "https://reference.aspose.com/omr/net/aspose.omr.batchprocessings/dataset/loadfromjsonfile/"
product: "Aspose.OMR for .NET API Reference"
description: "Import dataset from .json file by path Suitable for big and small datasets"
---

## DataSet.LoadFromJsonFile method

Import dataset from .json file by path Suitable for big and small datasets

```csharp
public static DataSet LoadFromJsonFile(string filePath, Encoding encoding = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | String | path to .json file |
| encoding | Encoding | file encoding |

### Return Value

Instance of DataSet with the content of the provided file

### Exceptions

| exception | condition |
| --- | --- |
| FileNotFoundException | When file not found |

### See Also

* class [DataSet](../../dataset)
* namespace [Aspose.OMR.BatchProcessings](../../dataset)
* assembly [Aspose.OMR](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OMR.dll -->
