Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IJSONLocator::convertToWideString ( P6JSONSTRING pJstring,
P6WCHAR pOut,
P6UINT32 pLength 
)
pure virtual

JSON value strings can be encoded with hex digits in the form "\uhhhh" and have control characters represented encoded in strings (e.g., "\t").

This helper method decodes the JSON string into a P6R wide character string.

Parameters
pJstring[ in ] points to the JSON string to convert.
pOut[ in ] Buffer to put wide string version of the jstring. If this is pointer is NULL, then the function returns the required size for the conversion in pLength.
pLength[ in ] Size of buffer pointed to by pOut. [ out ] Size of wide string in pOut.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpJstring or pLength is NULL.
P6R::eTooSmall

The buffer pointed to by pOut is too small.