JsonParserGeneratorRK
Public Member Functions | Protected Attributes
JsonWriterAutoArray Class Reference

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

#include <JsonParserGeneratorRK.h>

Public Member Functions

 JsonWriterAutoArray (JsonWriter *jw)
 Start a new array. More...
 
 ~JsonWriterAutoArray ()
 End the array.
 

Protected Attributes

JsonWriterjw
 JsonWriter to write to.
 

Detailed Description

Class for creating a JSON array with JsonWriter.

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

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

Constructor & Destructor Documentation

◆ JsonWriterAutoArray()

JsonWriterAutoArray::JsonWriterAutoArray ( JsonWriter jw)
inline

Start a new array.

Parameters
jwThe JsonWriter object to insert the array into

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