Jaa


JsonExtensions.ReplaceJTokenRecursively(JToken, Object) Method

Definition

Replaces the binding paths in a JSON Token value with the evaluated results recursively. Returns the final JSON Token value.

public static Newtonsoft.Json.Linq.JToken ReplaceJTokenRecursively (this Newtonsoft.Json.Linq.JToken token, object state);
static member ReplaceJTokenRecursively : Newtonsoft.Json.Linq.JToken * obj -> Newtonsoft.Json.Linq.JToken
<Extension()>
Public Function ReplaceJTokenRecursively (token As JToken, state As Object) As JToken

Parameters

token
Newtonsoft.Json.Linq.JToken

A JSON Token value which may have some binding paths.

state
Object

A scope for looking up variables.

Returns

Newtonsoft.Json.Linq.JToken

Deep data binding result.

Applies to