Class JsonHelper
Class containing helper functions to operate on Newtonsoft.Json.Linq.JObject objects.
Assembly: WMServer.dll
Syntax
Methods
RecursiveGetValuePaths(JToken)
Traverse a JObject and return the paths of every value.
Declaration
public static List<string> RecursiveGetValuePaths(JToken property)
Parameters
| Type |
Name |
Description |
| JToken |
property |
|
Returns
UnionJObjects(List<JObject>)
combines JObjects to a single JObject containing the union of all properties in the input. Prefers property values that appear more.
Declaration
public static JObject UnionJObjects(List<JObject> JOjects)
Parameters
| Type |
Name |
Description |
| List<JObject> |
JOjects |
|
Returns