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
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pJstring or pLength is NULL. |
P6R::eTooSmall | The buffer pointed to by pOut is too small.
|