JsonPathFunctionRegistry Class

An immutable collection of opt-in filter functions, in addition to the five built-ins.

public sealed class JsonPathFunctionRegistry

Properties

NameDescription
DefaultGets the registry with only RFC 9535 built-ins.

Gets the registry with only RFC 9535 built-ins.

public static JsonPathFunctionRegistry Default { get; }

Methods

NameDescription
WithFunction(JsonPathFunction)Returns a new registry containing the function. Duplicate names and built-in overrides are rejected.

WithFunction(JsonPathFunction)

JsonPathFunctionRegistry.cs

Returns a new registry containing the function. Duplicate names and built-in overrides are rejected.

public JsonPathFunctionRegistry WithFunction(JsonPathFunction function)