JsonParserGeneratorRK
Public Member Functions | Protected Attributes
JsonWriterAutoObject Class Reference

Class for creating a JSON object with JsonWriter. More...

#include <JsonParserGeneratorRK.h>

Public Member Functions

 JsonWriterAutoObject (JsonWriter *jw)
 Start a new object. More...
 
 ~JsonWriterAutoObject ()
 End the object.
 

Protected Attributes

JsonWriterjw
 JsonWriter to write to.
 

Detailed Description

Class for creating a JSON object with JsonWriter.

When you create an object, you must call startObject() to start and finishObjectOrArray() to complete it.

This class is instantiated on the stack to automatically start and finish for you.

Constructor & Destructor Documentation

◆ JsonWriterAutoObject()

JsonWriterAutoObject::JsonWriterAutoObject ( JsonWriter jw)
inline

Start a new object.

Parameters
jwThe JsonWriter object to insert the object into

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