JsonObject Class

Definition

Line 153 of System.Json/Json.cm

Inheritance

Constructors & Destructor

public JsonObject()

Member Functions

public void AddField(const String<char>& fieldName, JsonValue* fieldValue)
public void AddField(const String<char>& fieldName, UniquePtr<JsonValue>&& fieldValue)
public void AddField(const String<uchar>& fieldName, JsonValue* fieldValue)
public void AddField(const String<uchar>& fieldName, UniquePtr<JsonValue>&& fieldValue)
public void AddField(const String<wchar>& fieldName, JsonValue* fieldValue)
public void AddField(const String<wchar>& fieldName, UniquePtr<JsonValue>&& fieldValue)
public nothrow Map<String<uchar>, JsonValue*, Less<String<uchar>>>& Fields()
public nothrow const Map<String<uchar>, JsonValue*, Less<String<uchar>>>& Fields() const
public JsonValue* GetField(const String<char>& fieldName) const
public JsonValue* GetField(const String<uchar>& fieldName) const
public JsonValue* GetField(const String<wchar>& fieldName) const
public override String<char> ToString() const
public override void Write(CodeFormatter& formatter)

Member Variables

private Map<String<uchar>, JsonValue*, Less<String<uchar>>> fieldMap
private List<UniquePtr<JsonValue>> fieldValues

Constructor& Destructor Details

JsonObject Constructor

public JsonObject()

Definition
Line 155 of System.Json/Json.cm


Member Function Details

AddField Member Function

public void AddField(const String<char>& fieldName, JsonValue* fieldValue)

Definition
Line 171 of System.Json/Json.cm


AddField Member Function

public void AddField(const String<char>& fieldName, UniquePtr<JsonValue>&& fieldValue)

Definition
Line 158 of System.Json/Json.cm


AddField Member Function

public void AddField(const String<uchar>& fieldName, JsonValue* fieldValue)

Definition
Line 179 of System.Json/Json.cm


AddField Member Function

public void AddField(const String<uchar>& fieldName, UniquePtr<JsonValue>&& fieldValue)

Definition
Line 166 of System.Json/Json.cm


AddField Member Function

public void AddField(const String<wchar>& fieldName, JsonValue* fieldValue)

Definition
Line 175 of System.Json/Json.cm


AddField Member Function

public void AddField(const String<wchar>& fieldName, UniquePtr<JsonValue>&& fieldValue)

Definition
Line 162 of System.Json/Json.cm


Fields Member Function

public nothrow Map<String<uchar>, JsonValue*, Less<String<uchar>>>& Fields()

Definition
Line 205 of System.Json/Json.cm


Fields Member Function

public nothrow const Map<String<uchar>, JsonValue*, Less<String<uchar>>>& Fields()

Definition
Line 201 of System.Json/Json.cm


GetField Member Function

public JsonValue* GetField(const String<char>& fieldName)

Definition
Line 184 of System.Json/Json.cm


GetField Member Function

public JsonValue* GetField(const String<uchar>& fieldName)

Definition
Line 192 of System.Json/Json.cm


GetField Member Function

public JsonValue* GetField(const String<wchar>& fieldName)

Definition
Line 188 of System.Json/Json.cm


ToString Member Function

public override String<char> ToString()

Definition
Line 209 of System.Json/Json.cm


Write Member Function

public override void Write(CodeFormatter& formatter)

Definition
Line 230 of System.Json/Json.cm