Beamable SDK
Classes | Public Member Functions | Properties | List of all members
Beamable.Serialization.SmallerJSON.ArrayDict Class Reference
Inheritance diagram for Beamable.Serialization.SmallerJSON.ArrayDict:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Serialization.SmallerJSON.ArrayDict:
Collaboration graph
[legend]

Classes

struct  Enumerator
 

Public Member Functions

 ArrayDict (IDictionary< TKey, TValue > dictionary)
 Construct an ArrayDict from a regular Dictionary, or any other class that conforms to the IDictionary interface. This produces a shallow copy of the original dictionary. More...
 
object JsonPath (string jsonPath)
 TODO: The jsonpath won't accept fields with JSON protected characters, like dots, or array brackets. More...
 
void Add (TKey key, TValue value)
 
void AddUnchecked (TKey key, TValue value)
 
bool ContainsKey (TKey key)
 
bool Remove (TKey key)
 
bool TryGetValue (TKey key, out TValue value)
 
void Add (KeyValuePair< TKey, TValue > item)
 
void Clear ()
 
bool Contains (KeyValuePair< TKey, TValue > item)
 
void CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex)
 
bool Remove (KeyValuePair< TKey, TValue > item)
 
IEnumerator< KeyValuePair< TKey, TValue > > GetEnumerator ()
 

Properties

TValue this[TKey key] [get, set]
 
ICollection< TKey > Keys [get]
 
ICollection< TValue > Values [get]
 
int Count [get]
 
bool IsReadOnly [get]
 

Constructor & Destructor Documentation

◆ ArrayDict()

Beamable.Serialization.SmallerJSON.ArrayDict.ArrayDict ( IDictionary< TKey, TValue >  dictionary)
inline

Construct an ArrayDict from a regular Dictionary, or any other class that conforms to the IDictionary interface. This produces a shallow copy of the original dictionary.

Parameters
dictionarySource dictionary to copy.

Member Function Documentation

◆ JsonPath()

object Beamable.Serialization.SmallerJSON.ArrayDict.JsonPath ( string  jsonPath)
inline

TODO: The jsonpath won't accept fields with JSON protected characters, like dots, or array brackets.

Parameters
jsonPath
Returns
Exceptions
Exception

The documentation for this class was generated from the following file: