Skip to content

Should JsonObjectStream expose a reference to JsonBuffer? #125

Description

@tius2000

To create an array of array the method JsonBuffer::createArray() is required:

DynamicJsonBuffer buffer;
JsonArray& list = buffer.createArray();
JsonArray& item = buffer.createArray();
item.add(1);
list.add( item );

However, the class JsonObjectStream does not a reference to the underlying JsonBuffer. If this is desired, I will provide a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions