Both JSON objects and arrays contain values which can be strings, boolean values, numeric values, nested objects, nested arrays, and the value "null".
This method returns the current value in an object or array. The application can determine "where" this value exists in the JSON document by keeping track of the calls made above. For example, the following values are array values: ... startArray() value() value() endArray() ...
- Parameters
-
pValue | [ in ] If the value returned is a "jstring", then the pointer value in this P6JSONSTRING structure is ONLY valid during this callback. An application that wants to keep a copy of the string MUST make a copy during this method call. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pValue is NULL. |