JsonExtensions.ReplaceJTokenRecursively(JToken, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.