Pigweed
 
Loading...
Searching...
No Matches
pw::NestedJsonArray Class Reference

#include <builder.h>

Public Member Functions

 NestedJsonArray (const NestedJsonArray &)=delete
 
NestedJsonArrayoperator= (const NestedJsonArray &)=delete
 
constexpr NestedJsonArray (NestedJsonArray &&)=default
 
constexpr NestedJsonArrayoperator= (NestedJsonArray &&)=default
 
template<typename T >
constexpr NestedJsonArrayAppend (const T &value)
 Appends to the nested array.
 
constexpr NestedJsonArray AppendNestedArray ()
 Appends a new nested array to this nested array.
 
constexpr NestedJsonObject AppendNestedObject ()
 Appends a new nested object to this nested array.
 

Friends

class JsonArray
 
class JsonObject
 
class NestedJsonObject
 

Detailed Description

A JsonArray nested inside an object or array. Only provides functions for appending values to the nested array.

A NestedJsonArray is immediately invalidated if the enclosing JSON is updated. Attempting to append to the nested array is an error.


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