C-DEngine 5.105

TheCommonUtils..::..GetJSONValueByPath Method

Retrieves a value from a parsed JSON data structure based on a JSON path lookup/query. Obtain the parsed JSON using TheCommonUtils.DeserializeJSONStringToObject(). JSON Path details follow those in NewtonSoft's JObject.SelectToken().

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static Object GetJSONValueByPath(
	Object parsedJson,
	string jsonPath
)
Public Shared Function GetJSONValueByPath ( _
	parsedJson As Object, _
	jsonPath As String _
) As Object
public:
static Object^ GetJSONValueByPath(
	Object^ parsedJson, 
	String^ jsonPath
)

Parameters

parsedJson
Type: Object
jsonPath
Type: String

Return Value