Method FromJson
FromJson(string)
Parses a filter from its JSON form (see the class remarks for the accepted shape).
public static MetadataFilter FromJson(string json)
Parameters
jsonstringThe JSON text to parse.
Returns
- MetadataFilter
The parsed filter tree.
Exceptions
- ArgumentException
Thrown when
jsonis null or empty.- FormatException
Thrown when the JSON is not valid, uses an unknown operator, omits a required property, carries a value of the wrong shape, or exceeds a structural limit.