Home LiteralRule Class
LiteralRule Class
Cancel

LiteralRule Class

Namespace: Json.Logic.Rules

Inheritance: LiteralRule 🡒 Rule 🡒 object

Provides a stand-in “rule” for literal values.

Remarks

This is not exactly part of the specification, but it helps things in this library.

Methods

Apply(JsonNode data)

Applies the rule to the input data.

Declaration

1
public override JsonNode Apply(JsonNode data)
ParameterTypeDescription
dataJsonNodeThe input data.

Returns

The result of the rule.

Contents