Skip to content

Std json jsonobject

std:std.json.JsonObject

Class JsonObject Extends JsonValue#

JsonObject class.

Constructors
New
Properties
Data The underlying interal object data.
Empty True if object is empty. (read only)
IsObject Returns True. (read only)
Methods
All Gets an iterator to all the json values in the object.
Contains Checks if the object contains a key.
Count Counts the number of keys in the object.
GetArray Gets an array from an object.
GetBool Gets a bool from an object.
GetNumber Gets a number from an object.
GetObject Gets an object from the object.
GetString Gets a string from an object.
GetValue Gets the value associated with a key.
SetArray Sets a key to a value.
SetBool Sets a key to a value.
SetNumber Sets a key to a value.
SetObject Sets a key to a value.
SetString Sets a key to a value.
SetValue Sets a key to a value.
ToObject Gets the internal string map used to store the object.
Operator [] Gets the json value associated with a key.
Operator []= Sets the json value in the object.
Functions
Load
Parse