Home EvaluationContext Class
EvaluationContext Class
Cancel

EvaluationContext Class

Namespace: Json.JsonE

Inheritance: EvaluationContext 🡒 object

Provides context data for JSON-e evaluation.

Methods

Find(ContextAccessor identifier)

Finds data within the context.

Declaration

1
public JsonNode Find(ContextAccessor identifier)
ParameterTypeDescription
identifierContextAccessorAn accessor.

Returns

The value, if it exists.

IsDefined(ContextAccessor identifier)

Checks data for a given property.

Declaration

1
public bool IsDefined(ContextAccessor identifier)
ParameterTypeDescription
identifierContextAccessorAn accessor.

Returns

true if the value exists in the context; otherwise false.

Pop()

Declaration

1
public JsonNode Pop()

Returns

Push(JsonObject newContext)

Adds or overrides context data.

Declaration

1
public void Push(JsonObject newContext)
ParameterTypeDescription
newContextJsonObject 
Contents