Options for JSON parsing. Passed to the JsonTree constructor. More...
#include <Json.h>
Public Member Functions | |
ParseOptions () | |
Default options. Enables parsing errors. More... | |
ParseOptions & | ignoreErrors (bool ignore=true) |
Sets if JSON parse errors are ignored. Default true . More... | |
bool | getIgnoreErrors () const |
Returns whether JSON parse errors are ignored. More... | |
Options for JSON parsing. Passed to the JsonTree constructor.
cinder::JsonTree::ParseOptions::ParseOptions | ( | ) |
Default options. Enables parsing errors.
JsonTree::ParseOptions & cinder::JsonTree::ParseOptions::ignoreErrors | ( | bool | ignore = true | ) |
Sets if JSON parse errors are ignored. Default true
.
bool cinder::JsonTree::ParseOptions::getIgnoreErrors | ( | ) | const |
Returns whether JSON parse errors are ignored.