Table of Contents

Method FromJson

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

FromJson(string)

Parses a filter from its JSON form (see the class remarks for the accepted shape).

public static MetadataFilter FromJson(string json)

Parameters

json string

The JSON text to parse.

Returns

MetadataFilter

The parsed filter tree.

Exceptions

ArgumentException

Thrown when json is 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.

Share