Method FromJsonString
FromJsonString(String, JsonInputOptions)
Creates FieldValue instance from JSON string.
Declaration
public static FieldValue FromJsonString(string json, JsonInputOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
String | json | JSON string |
JsonInputOptions | options | (Optional) Options that allow limited
customization of the deserialization process. If not specified or
null , appropriate defaults will be used as described in
JsonInputOptions. |
Returns
Type | Description |
---|---|
FieldValue | FieldValue instance representing JSON data read. |
Remarks
See sections JSON Mappings and JSON Conversions
in the remarks section of FieldValue on details of
how different data types and subclasses of
FieldValue are represented in JSON.
Exceptions
Type | Condition |
---|---|
ArgumentException | options has
invalid values. |
JsonParseException | json has
invalid JSON data. |