ParseUtf8 - cJsonObject
Parses a string of UTF-8 encoded data containing JSON into a JSON object structure
Type: Function
Return Data Type: Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| uData | UChar[] | UFT8 data to parse |
Syntax
Function ParseUtf8 UChar[] uData Returns Boolean
Call Example
Get ParseUtf8 uData to BooleanVariable
Description
Parses a string of UTF-8 encoded data containing JSON into a JSON object structure, where the object instance on which it is called represents the outermost JSON object.
Use ReportParseError or psParseError to get parsing errors if False was returned.
Note: JSON cannot contain a byte order mark (BOM), even if the data is in UTF8 format.
Return Value
True if the JSON was successfully parsed, False if not.