Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
cinder::JsonTree::ParseOptions Class Reference

Options for JSON parsing. Passed to the JsonTree constructor. More...

#include <Json.h>

Public Member Functions

 ParseOptions ()
 Default options. Enables parsing errors. More...
 
ParseOptionsignoreErrors (bool ignore=true)
 Sets if JSON parse errors are ignored. Default true. More...
 
bool getIgnoreErrors () const
 Returns whether JSON parse errors are ignored. More...
 

Detailed Description

Options for JSON parsing. Passed to the JsonTree constructor.

Constructor & Destructor Documentation

cinder::JsonTree::ParseOptions::ParseOptions ( )

Default options. Enables parsing errors.

Member Function Documentation

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.


The documentation for this class was generated from the following files: