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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.