Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
pw::NestedJsonArray Class Reference

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: