Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IJSONContentHandler::value ( P6JSONVALUE pValue)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgpValue is NULL.