Public Member Functions
cinder::JsonTree::WriteOptions Class Reference

Options for JSON writing. Passed to the write method. More...

#include <Json.h>

List of all members.

Public Member Functions

 WriteOptions ()
 Default options. Indents. Does not create root document.
WriteOptionscreateDocument (bool createDocument=true)
 Sets if JSON string is indented. Default true.
WriteOptionsindented (bool indent=true)
 Sets if JSON string is indented. Default true.
bool getCreateDocument () const
 Returns whether JSON string is indented.
bool getIndented () const
 Returns whether JSON string is indented.

Detailed Description

Options for JSON writing. Passed to the write method.


Constructor & Destructor Documentation

Default options. Indents. Does not create root document.


Member Function Documentation

Sets if JSON string is indented. Default true.

Sets if JSON string is indented. Default true.

Returns whether JSON string is indented.

Returns whether JSON string is indented.


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