JsonParser::parseString(String *str)
Function Usage
Deserializes a JSON string to obtain the JsonElement structure that stores the deserialization result.
Function Syntax
JsonElement *JsonParser::parseString(String *str);
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
str |
JSON string to be deserialized. |
Non-null pointer |
Input |
Return Value
- Success: a pointer to the JsonElement structure that stores the deserialization result.
- Failure: a pointer to the JsonElement structure whose member variables are null pointers.
You must use delete to release the returned pointer to the JsonElement structure.
Parent topic: Function Syntax