JsonObject

json.object.ObjectJson is the representation of the object type inside JSON.

A json.object.ObjectJson contains json.node.Node "members", which may contain fundamental types, arrays or other objects; each member of an object is accessed using a unique string, or "name".

Since objects can be arbitrarily big, copying them can be expensive; for this reason they are reference counted. You can control the lifetime of a json.object.ObjectJson using json.object.ObjectJson.ref_ and json.object.ObjectJson.unref.

To add or overwrite a member with a given name, use json.object.ObjectJson.setMember.

To extract a member with a given name, use json.object.ObjectJson.getMember.

To retrieve the list of members, use json.object.ObjectJson.getMembers.

To retrieve the size of the object (that is, the number of members it has), use json.object.ObjectJson.getSize.

struct JsonObject