Method
LoadText
func LoadText(json: string) -> Result<void, JsonConfigurationError>
Declaring type: JsonConfigurationProvider
Module: Neo.Configuration.Json
Assembly: Neo.Configuration.Json.dll
Source file: JsonConfiguration.rvn
Parses supplied JSON instead of reading the file; failed parsing preserves previous values. Later Load/TryLoad reads Path again. Numeric spelling is preserved; booleans use True/False.
Parameters
| Name | Type | Description |
|---|---|---|
json |
String |
Return value
Result<void, JsonConfigurationError>