System.Json Namespace

Concepts

public concept JsonConstructible<T> A class having a constructor that takes a JsonValue pointer is JsonConstructible .
public concept JsonExportable<T> A class having a member function named ToJson that returns a UniquePtr to a JsonValue is JsonExportable .
public concept JsonValueType<T> Primitive types int , long , etc. are JsonValueType s, as are string , wstring and ustring .

Classes

public class JsonArray
public class JsonBool
public class JsonClassFactory
public class JsonImportException
public class JsonNull
public class JsonNumber
public class JsonObject
public class JsonString
public abstract class JsonValue

Functions

public void FromJson(JsonValue* value, Date& field)
public void FromJson(JsonValue* value, DateTime& field)
public void FromJson<K, T, H, C>(JsonValue* value, HashMap<K, T, H, C>& field) where K is string and T is JsonValueType
public void FromJson<K, T, H, C>(JsonValue* value, HashMap<K, T, H, C>& field) where K is ustring and T is JsonValueType
public void FromJson<K, T, H, C>(JsonValue* value, HashMap<K, T, H, C>& field) where K is wstring and T is JsonValueType
public void FromJson<T>(JsonValue* value, List<SharedPtr<T>>& field)
public void FromJson<T>(JsonValue* value, List<T>& field) where T is JsonConstructible
public void FromJson<T>(JsonValue* value, List<T>& field) where T is JsonValueType
public void FromJson<T>(JsonValue* value, List<UniquePtr<T>>& field)
public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field) where Key is string and Value is JsonConstructible
public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field) where Key is string and Value is JsonValueType
public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field) where Key is ustring and Value is JsonConstructible
public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field) where Key is ustring and Value is JsonValueType
public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field) where Key is wstring and Value is JsonConstructible
public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field) where Key is wstring and Value is JsonValueType
public void FromJson<T>(JsonValue* value, SharedPtr<T>& field)
public void FromJson(JsonValue* value, String<char>& field)
public void FromJson(JsonValue* value, String<uchar>& field)
public void FromJson(JsonValue* value, String<wchar>& field)
public void FromJson<T>(JsonValue* value, T& field) where System.Meta.IsEnumeratedType<T>()
public void FromJson<T>(JsonValue* value, T& field) where T is JsonConstructible
public void FromJson(JsonValue* value, Timestamp& field)
public void FromJson<T>(JsonValue* value, UniquePtr<T>& field) Creates a JsonConstructible class from a JsonValue and assigns it to the field argument.
public void FromJson(JsonValue* value, Uuid& field)
public void FromJson(JsonValue* value, bool& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, Date& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, DateTime& field)
public void FromJson<K, T, H, C>(JsonValue* container, const String<char>& fieldName, HashMap<K, T, H, C>& field)
public void FromJson<T>(JsonValue* container, const String<char>& fieldName, List<SharedPtr<T>>& field)
public void FromJson<T>(JsonValue* container, const String<char>& fieldName, List<T>& field)
public void FromJson<T>(JsonValue* container, const String<char>& fieldName, List<UniquePtr<T>>& field)
public void FromJson<Key, Value, KeyCompare>(JsonValue* container, const String<char>& fieldName, Map<Key, Value, KeyCompare>& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, String<char>& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, String<uchar>& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, String<wchar>& field)
public void FromJson<T>(JsonValue* container, const String<char>& fieldName, T& field) where System.Meta.IsEnumeratedType<T>()
public void FromJson<T>(JsonValue* container, const String<char>& fieldName, T& field) where T is JsonConstructible
public void FromJson(JsonValue* container, const String<char>& fieldName, Timestamp& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, Uuid& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, bool& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, double& field)
public void FromJson(JsonValue* container, const String<char>& fieldName, int& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, Date& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, DateTime& field)
public void FromJson<K, T, H, C>(JsonValue* container, const String<uchar>& fieldName, HashMap<K, T, H, C>& field)
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, List<SharedPtr<T>>& field)
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, List<T>& field)
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, List<UniquePtr<T>>& field)
public void FromJson<Key, Value, KeyCompare>(JsonValue* container, const String<uchar>& fieldName, Map<Key, Value, KeyCompare>& field)
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, SharedPtr<T>& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, String<char>& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, String<uchar>& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, String<wchar>& field)
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, T& field) where System.Meta.IsEnumeratedType<T>()
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, T& field) where T is JsonConstructible
public void FromJson(JsonValue* container, const String<uchar>& fieldName, Timestamp& field)
public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, UniquePtr<T>& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, Uuid& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, bool& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, double& field)
public void FromJson(JsonValue* container, const String<uchar>& fieldName, int& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, Date& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, DateTime& field)
public void FromJson<K, T, H, C>(JsonValue* container, const String<wchar>& fieldName, HashMap<K, T, H, C>& field)
public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, List<SharedPtr<T>>& field)
public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, List<T>& field)
public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, List<UniquePtr<T>>& field)
public void FromJson<Key, Value, KeyCompare>(JsonValue* container, const String<wchar>& fieldName, Map<Key, Value, KeyCompare>& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, String<char>& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, String<uchar>& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, String<wchar>& field)
public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, T& field) where System.Meta.IsEnumeratedType<T>()
public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, T& field) where T is JsonConstructible
public void FromJson(JsonValue* container, const String<wchar>& fieldName, Timestamp& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, Uuid& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, bool& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, double& field)
public void FromJson(JsonValue* container, const String<wchar>& fieldName, int& field)
public void FromJson(JsonValue* value, double& field)
public void FromJson(JsonValue* value, int& field)
public uchar ParseEscape(const uchar*& p, const uchar* e, const Token& token)
public void ParseHexChar(uchar& value, const uchar*& p, const uchar* e, const Token& token)
public UniquePtr<JsonValue> ParseJson(const String<char>& jsonText) Converts a JSON string to a JsonValue .
public UniquePtr<JsonValue> ParseJson(const String<uchar>& jsonText) Converts a JSON string to a JsonValue .
public UniquePtr<JsonValue> ParseJson(const String<wchar>& jsonText) Converts a JSON string to a JsonValue .
public double ParseNumber(const Token& token)
public String<uchar> ParseStringLiteral(const Token& token)
public void RegisterJsonClass(const String<char>& jsonClassName, JsonClassCreatorDelegate creator)
public void RegisterJsonClass(const String<uchar>& jsonClassName, JsonClassCreatorDelegate creator)
public void RegisterJsonClass(const String<wchar>& jsonClassName, JsonClassCreatorDelegate creator)
public nothrow UniquePtr<JsonValue> ToJson<T>(T value)
public nothrow UniquePtr<JsonValue> ToJson(bool value)
public nothrow UniquePtr<JsonValue> ToJson(const Date& value)
public nothrow UniquePtr<JsonValue> ToJson(const DateTime& value)
public UniquePtr<JsonValue> ToJson<K, T, H, C>(const HashMap<K, T, H, C>& value) where K is ustring
public UniquePtr<JsonValue> ToJson<K, T, H, C>(const HashMap<K, T, H, C>& value) where K is wstring or K is string
public UniquePtr<JsonValue> ToJson<T>(const List<T>& value)
public UniquePtr<JsonValue> ToJson<Key, Value, KeyCompare>(const Map<Key, Value, KeyCompare>& value) where Key is ustring
public UniquePtr<JsonValue> ToJson<Key, Value, KeyCompare>(const Map<Key, Value, KeyCompare>& value) where Key is wstring or Key is string
public UniquePtr<JsonValue> ToJson<T>(const Queue<T>& value)
public UniquePtr<JsonValue> ToJson<T>(const SharedPtr<T>& ptr)
public UniquePtr<JsonValue> ToJson(const String<char>& value)
public nothrow UniquePtr<JsonValue> ToJson(const String<uchar>& value)
public UniquePtr<JsonValue> ToJson(const String<wchar>& value)
public UniquePtr<JsonValue> ToJson<T>(const T& object)
public nothrow UniquePtr<JsonValue> ToJson(const Timestamp& value)
public UniquePtr<JsonValue> ToJson<T>(const UniquePtr<T>& ptr) Converts a JsonExportable class to a unique pointer of JsonValue and returns it.
public nothrow UniquePtr<JsonValue> ToJson(const Uuid& value)
public nothrow UniquePtr<JsonValue> ToJson(double value)

Delegates

public delegate void* JsonClassCreatorDelegate(JsonValue * value)

Function Details

FromJson Function

public void FromJson(JsonValue* value, Date& field)

Definition
Line 121 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, DateTime& field)

Definition
Line 135 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<K, T, H, C>(JsonValue* value, HashMap<K, T, H, C>& field)

Template Parameters
K
T
H
C
Constraint
K  is  string  and  T  is  JsonValueType
Definition
Line 425 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<K, T, H, C>(JsonValue* value, HashMap<K, T, H, C>& field)

Template Parameters
K
T
H
C
Constraint
K  is  ustring  and  T  is  JsonValueType
Definition
Line 383 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<K, T, H, C>(JsonValue* value, HashMap<K, T, H, C>& field)

Template Parameters
K
T
H
C
Constraint
K  is  wstring  and  T  is  JsonValueType
Definition
Line 404 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, List<SharedPtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 239 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, List<T>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 198 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, List<T>& field)

Template Parameters
T
Constraint
T  is  JsonValueType
Definition
Line 177 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, List<UniquePtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 218 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  string  and  Value  is  JsonConstructible
Definition
Line 363 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  string  and  Value  is  JsonValueType
Definition
Line 302 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  ustring  and  Value  is  JsonConstructible
Definition
Line 323 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  ustring  and  Value  is  JsonValueType
Definition
Line 260 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  wstring  and  Value  is  JsonConstructible
Definition
Line 343 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* value, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  wstring  and  Value  is  JsonValueType
Definition
Line 281 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, SharedPtr<T>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 496 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, String<char>& field)

Definition
Line 82 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, String<uchar>& field)

Definition
Line 108 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, String<wchar>& field)

Definition
Line 95 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, T& field)

Template Parameters
T
Constraint
System.Meta.IsEnumeratedType<T>()
Definition
Line 68 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, T& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 446 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, Timestamp& field)

Definition
Line 149 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* value, UniquePtr<T>& field)

Creates a JsonConstructible class from a JsonValue and assigns it to the field argument.

A user-defined class with a json attribute is JsonConstructible .

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 452 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, Uuid& field)

Definition
Line 163 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, bool& field)

Definition
Line 55 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, Date& field)

Definition
Line 759 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, DateTime& field)

Definition
Line 790 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<K, T, H, C>(JsonValue* container, const String<char>& fieldName, HashMap<K, T, H, C>& field)

Template Parameters
K
T
H
C
Constraint
T  is  JsonValueType  or  T  is  JsonConstructible
Definition
Line 1019 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<char>& fieldName, List<SharedPtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 951 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<char>& fieldName, List<T>& field)

Template Parameters
T
Constraint
T  is  JsonValueType  or  T  is  JsonConstructible
Definition
Line 883 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<char>& fieldName, List<UniquePtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 917 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* container, const String<char>& fieldName, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Value  is  JsonValueType  or  Value  is  JsonConstructible
Definition
Line 985 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, String<char>& field)

Definition
Line 666 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, String<uchar>& field)

Definition
Line 728 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, String<wchar>& field)

Definition
Line 697 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<char>& fieldName, T& field)

Template Parameters
T
Constraint
System.Meta.IsEnumeratedType<T>()
Definition
Line 632 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<char>& fieldName, T& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 1053 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, Timestamp& field)

Definition
Line 821 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, Uuid& field)

Definition
Line 852 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, bool& field)

Definition
Line 601 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, double& field)

Definition
Line 570 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<char>& fieldName, int& field)

Definition
Line 539 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, Date& field)

Definition
Line 769 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, DateTime& field)

Definition
Line 800 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<K, T, H, C>(JsonValue* container, const String<uchar>& fieldName, HashMap<K, T, H, C>& field)

Template Parameters
K
T
H
C
Constraint
T  is  JsonValueType  or  T  is  JsonConstructible
Definition
Line 1031 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, List<SharedPtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 963 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, List<T>& field)

Template Parameters
T
Constraint
T  is  JsonValueType  or  T  is  JsonConstructible
Definition
Line 895 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, List<UniquePtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 929 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* container, const String<uchar>& fieldName, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Value  is  JsonValueType  or  Value  is  JsonConstructible
Definition
Line 997 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, SharedPtr<T>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 1109 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, String<char>& field)

Definition
Line 676 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, String<uchar>& field)

Definition
Line 738 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, String<wchar>& field)

Definition
Line 707 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, T& field)

Template Parameters
T
Constraint
System.Meta.IsEnumeratedType<T>()
Definition
Line 644 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, T& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 1065 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, Timestamp& field)

Definition
Line 831 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<uchar>& fieldName, UniquePtr<T>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 1087 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, Uuid& field)

Definition
Line 862 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, bool& field)

Definition
Line 611 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, double& field)

Definition
Line 580 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<uchar>& fieldName, int& field)

Definition
Line 549 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, Date& field)

Definition
Line 764 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, DateTime& field)

Definition
Line 795 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<K, T, H, C>(JsonValue* container, const String<wchar>& fieldName, HashMap<K, T, H, C>& field)

Template Parameters
K
T
H
C
Constraint
T  is  JsonValueType  or  T  is  JsonConstructible
Definition
Line 1025 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, List<SharedPtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 957 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, List<T>& field)

Template Parameters
T
Constraint
T  is  JsonValueType  or  T  is  JsonConstructible
Definition
Line 889 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, List<UniquePtr<T>>& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 923 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<Key, Value, KeyCompare>(JsonValue* container, const String<wchar>& fieldName, Map<Key, Value, KeyCompare>& field)

Template Parameters
Key
Value
KeyCompare
Constraint
Value  is  JsonValueType  or  Value  is  JsonConstructible
Definition
Line 991 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, String<char>& field)

Definition
Line 671 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, String<uchar>& field)

Definition
Line 733 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, String<wchar>& field)

Definition
Line 702 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, T& field)

Template Parameters
T
Constraint
System.Meta.IsEnumeratedType<T>()
Definition
Line 638 of System.Json/JsonImport.cm


FromJson Function

public void FromJson<T>(JsonValue* container, const String<wchar>& fieldName, T& field)

Template Parameters
T
Constraint
T  is  JsonConstructible
Definition
Line 1059 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, Timestamp& field)

Definition
Line 826 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, Uuid& field)

Definition
Line 857 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, bool& field)

Definition
Line 606 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, double& field)

Definition
Line 575 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* container, const String<wchar>& fieldName, int& field)

Definition
Line 544 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, double& field)

Definition
Line 42 of System.Json/JsonImport.cm


FromJson Function

public void FromJson(JsonValue* value, int& field)

Definition
Line 29 of System.Json/JsonImport.cm


ParseEscape Function

public uchar ParseEscape(const uchar*& p, const uchar* e, const Token& token)

Definition
Line 39 of System.Json/TokenValueParsers.cm


ParseHexChar Function

public void ParseHexChar(uchar& value, const uchar*& p, const uchar* e, const Token& token)

Definition
Line 10 of System.Json/TokenValueParsers.cm


ParseJson Function

public UniquePtr<JsonValue> ParseJson(const String<char>& jsonText)

Converts a JSON string to a JsonValue .

Definition
Line 348 of System.Json/Json.cm


ParseJson Function

public UniquePtr<JsonValue> ParseJson(const String<uchar>& jsonText)

Converts a JSON string to a JsonValue .

Definition
Line 358 of System.Json/Json.cm


ParseJson Function

public UniquePtr<JsonValue> ParseJson(const String<wchar>& jsonText)

Converts a JSON string to a JsonValue .

Definition
Line 353 of System.Json/Json.cm


ParseNumber Function

public double ParseNumber(const Token& token)

Definition
Line 145 of System.Json/TokenValueParsers.cm


ParseStringLiteral Function

public String<uchar> ParseStringLiteral(const Token& token)

Definition
Line 112 of System.Json/TokenValueParsers.cm


RegisterJsonClass Function

public void RegisterJsonClass(const String<char>& jsonClassName, JsonClassCreatorDelegate creator)

Definition
Line 43 of System.Json/JsonClassFactory.cm


RegisterJsonClass Function

public void RegisterJsonClass(const String<uchar>& jsonClassName, JsonClassCreatorDelegate creator)

Definition
Line 53 of System.Json/JsonClassFactory.cm


RegisterJsonClass Function

public void RegisterJsonClass(const String<wchar>& jsonClassName, JsonClassCreatorDelegate creator)

Definition
Line 48 of System.Json/JsonClassFactory.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson<T>(T value)

Template Parameters
T
Constraint
System.Meta.IsEnumeratedType<T>()
Definition
Line 66 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(bool value)

Definition
Line 61 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(const Date& value)

Definition
Line 87 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(const DateTime& value)

Definition
Line 92 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<K, T, H, C>(const HashMap<K, T, H, C>& value)

Template Parameters
K
T
H
C
Constraint
K  is  ustring
Definition
Line 147 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<K, T, H, C>(const HashMap<K, T, H, C>& value)

Template Parameters
K
T
H
C
Constraint
K  is  wstring  or  K  is  string
Definition
Line 157 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<T>(const List<T>& value)

Template Parameters
T
Definition
Line 107 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<Key, Value, KeyCompare>(const Map<Key, Value, KeyCompare>& value)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  ustring
Definition
Line 127 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<Key, Value, KeyCompare>(const Map<Key, Value, KeyCompare>& value)

Template Parameters
Key
Value
KeyCompare
Constraint
Key  is  wstring  or  Key  is  string
Definition
Line 137 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<T>(const Queue<T>& value)

Template Parameters
T
Definition
Line 117 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<T>(const SharedPtr<T>& ptr)

Template Parameters
T
Constraint
T  is  JsonExportable
Definition
Line 39 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson(const String<char>& value)

Definition
Line 72 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(const String<uchar>& value)

Definition
Line 82 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson(const String<wchar>& value)

Definition
Line 77 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<T>(const T& object)

Template Parameters
T
Constraint
T  is  JsonExportable
Definition
Line 16 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(const Timestamp& value)

Definition
Line 97 of System.Json/JsonExport.cm


ToJson Function

public UniquePtr<JsonValue> ToJson<T>(const UniquePtr<T>& ptr)

Converts a JsonExportable class to a unique pointer of JsonValue and returns it.

A user-defined class defined with a json attribute is a JsonExportable class.

Template Parameters
T
Constraint
T  is  JsonExportable
Definition
Line 22 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(const Uuid& value)

Definition
Line 102 of System.Json/JsonExport.cm


ToJson Function

public nothrow UniquePtr<JsonValue> ToJson(double value)

Definition
Line 56 of System.Json/JsonExport.cm