Method FromJsonFile
FromJsonFile(String)
Declaration
public static NoSQLConfig FromJsonFile(string jsonFilePath)
Parameters
Type |
Name |
Description |
String |
jsonFilePath |
The path to the file containing the
JSON representation of the configuration, either as absolute path
or relative to the current directory of the application. |
Returns
Type |
Description |
NoSQLConfig |
An instance of NoSQLConfig representing the
configuration provided by jsonFilePath .
|
Exceptions
Type |
Condition |
ArgumentException |
If failed to read the file
specified by jsonFilePath or failed to parse
the JSON text. The InnerException
property will specify the cause.
|