parse method
- String data
Attempts to parse the serialized string data and turn it into a CArray. Any data previously held by this object is cleared. False is returned if it could not parse the data.
Implementation
bool parse(String data) {
try {
clear();
addAll(jsonDecode(data));
return true;
} catch (ex) {
return false;
}
}