Represents the json object.
More...
|
| JsonObject () |
| Initializes a new instance of JsonObject.
|
|
| JsonObject (IEqualityComparer< string > comparer) |
| Initializes a new instance of JsonObject.
|
|
void | Add (string key, object value) |
| Adds the specified key.
|
|
bool | ContainsKey (string key) |
| Determines whether the specified key contains key.
|
|
bool | Remove (string key) |
| Removes the specified key.
|
|
bool | TryGetValue (string key, out object value) |
| Tries the get value.
|
|
void | Add (KeyValuePair< string, object > item) |
| Adds the specified item.
|
|
void | Clear () |
| Clears this instance.
|
|
bool | Contains (KeyValuePair< string, object > item) |
| Determines whether [contains] [the specified item].
|
|
void | CopyTo (KeyValuePair< string, object >[] array, int arrayIndex) |
| Copies to.
|
|
bool | Remove (KeyValuePair< string, object > item) |
| Removes the specified item.
|
|
IEnumerator< KeyValuePair< string, object > > | GetEnumerator () |
| Gets the enumerator.
|
|
override string | ToString () |
| Returns a json T:System.String that represents the current T:System.Object.
|
|
|
object | this[int index] [get] |
| Gets the System.Object at the specified index.
|
|
ICollection< string > | Keys [get] |
| Gets the keys.
|
|
ICollection< object > | Values [get] |
| Gets the values.
|
|
object | this[string key] [get, set] |
| Gets or sets the System.Object with the specified key.
|
|
int | Count [get] |
| Gets the count.
|
|
bool | IsReadOnly [get] |
| Gets a value indicating whether this instance is read only.
|
|
Represents the json object.
◆ JsonObject()
PlayFab.Json.JsonObject.JsonObject |
( |
IEqualityComparer< string > |
comparer | ) |
|
|
inline |
Initializes a new instance of JsonObject.
- Parameters
-
comparer | The T:System.Collections.Generic.IEqualityComparer`1 implementation to use when comparing keys, or null to use the default T:System.Collections.Generic.EqualityComparer`1 for the type of the key. |
◆ Add() [1/2]
void PlayFab.Json.JsonObject.Add |
( |
KeyValuePair< string, object > |
item | ) |
|
|
inline |
Adds the specified item.
- Parameters
-
◆ Add() [2/2]
void PlayFab.Json.JsonObject.Add |
( |
string |
key, |
|
|
object |
value |
|
) |
| |
|
inline |
Adds the specified key.
- Parameters
-
key | The key. |
value | The value. |
◆ Contains()
bool PlayFab.Json.JsonObject.Contains |
( |
KeyValuePair< string, object > |
item | ) |
|
|
inline |
Determines whether [contains] [the specified item].
- Parameters
-
- Returns
true
if [contains] [the specified item]; otherwise, false
.
◆ ContainsKey()
bool PlayFab.Json.JsonObject.ContainsKey |
( |
string |
key | ) |
|
|
inline |
Determines whether the specified key contains key.
- Parameters
-
- Returns
true
if the specified key contains key; otherwise, false
.
◆ CopyTo()
void PlayFab.Json.JsonObject.CopyTo |
( |
KeyValuePair< string, object >[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
|
inline |
Copies to.
- Parameters
-
array | The array. |
arrayIndex | Index of the array. |
◆ GetEnumerator()
IEnumerator< KeyValuePair< string, object > > PlayFab.Json.JsonObject.GetEnumerator |
( |
| ) |
|
|
inline |
Gets the enumerator.
- Returns
◆ Remove() [1/2]
bool PlayFab.Json.JsonObject.Remove |
( |
KeyValuePair< string, object > |
item | ) |
|
|
inline |
Removes the specified item.
- Parameters
-
- Returns
◆ Remove() [2/2]
bool PlayFab.Json.JsonObject.Remove |
( |
string |
key | ) |
|
|
inline |
Removes the specified key.
- Parameters
-
- Returns
◆ ToString()
override string PlayFab.Json.JsonObject.ToString |
( |
| ) |
|
|
inline |
Returns a json T:System.String that represents the current T:System.Object.
- Returns
- A json T:System.String that represents the current T:System.Object.
◆ TryGetValue()
bool PlayFab.Json.JsonObject.TryGetValue |
( |
string |
key, |
|
|
out object |
value |
|
) |
| |
|
inline |
Tries the get value.
- Parameters
-
key | The key. |
value | The value. |
- Returns
◆ Count
int PlayFab.Json.JsonObject.Count |
|
get |
Gets the count.
The count.
◆ IsReadOnly
bool PlayFab.Json.JsonObject.IsReadOnly |
|
get |
Gets a value indicating whether this instance is read only.
true
if this instance is read only; otherwise, false
.
◆ Keys
ICollection<string> PlayFab.Json.JsonObject.Keys |
|
get |
◆ this[int index]
object PlayFab.Json.JsonObject.this[int index] |
|
get |
Gets the System.Object at the specified index.
◆ this[string key]
object PlayFab.Json.JsonObject.this[string key] |
|
getset |
Gets or sets the System.Object with the specified key.
◆ Values
ICollection<object> PlayFab.Json.JsonObject.Values |
|
get |
Gets the values.
The values.
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/Teal-Net/Plugins/PlayFabSDK/Shared/Internal/SimpleJson.cs