UnityMol  0.9.6-875
UnityMol viewer / In developement
SimpleJSON.JSONNode Class Reference
+ Inheritance diagram for SimpleJSON.JSONNode:

Public Member Functions

virtual void Add (string aKey, JSONNode aItem)
 
virtual void Add (JSONNode aItem)
 
virtual JSONNode Remove (string aKey)
 
virtual JSONNode Remove (int aIndex)
 
virtual JSONNode Remove (JSONNode aNode)
 
override string ToString ()
 
virtual string ToString (string aPrefix)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
virtual void Serialize (System.IO.BinaryWriter aWriter)
 
void SaveToStream (System.IO.Stream aData)
 
void SaveToCompressedStream (System.IO.Stream aData)
 
void SaveToCompressedFile (string aFileName)
 
string SaveToCompressedBase64 ()
 
void SaveToFile (string aFileName)
 
string SaveToBase64 ()
 

Static Public Member Functions

static implicit operator JSONNode (string s)
 
static implicit operator string (JSONNode d)
 
static bool operator== (JSONNode a, object b)
 
static bool operator!= (JSONNode a, object b)
 
static JSONNode Parse (string aJSON)
 
static JSONNode Deserialize (System.IO.BinaryReader aReader)
 
static JSONNode LoadFromCompressedFile (string aFileName)
 
static JSONNode LoadFromCompressedStream (System.IO.Stream aData)
 
static JSONNode LoadFromCompressedBase64 (string aBase64)
 
static JSONNode LoadFromStream (System.IO.Stream aData)
 
static JSONNode LoadFromFile (string aFileName)
 
static JSONNode LoadFromBase64 (string aBase64)
 

Static Package Functions

static string Escape (string aText)
 

Properties

virtual JSONNode this[int aIndex] [get, set]
 
virtual JSONNode this[string aKey] [get, set]
 
virtual string Value [get, set]
 
virtual int Count [get]
 
virtual IEnumerable< JSONNodeChilds [get]
 
IEnumerable< JSONNodeDeepChilds [get]
 
virtual int AsInt [get, set]
 
virtual float AsFloat [get, set]
 
virtual double AsDouble [get, set]
 
virtual bool AsBool [get, set]
 
virtual JSONArray AsArray [get]
 
virtual JSONClass AsObject [get]
 

Detailed Description

Definition at line 64 of file SimpleJSON.cs.

Member Function Documentation

virtual void SimpleJSON.JSONNode.Add ( string  aKey,
JSONNode  aItem 
)
virtual

Reimplemented in SimpleJSON.JSONLazyCreator, SimpleJSON.JSONClass, and SimpleJSON.JSONArray.

Definition at line 67 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.Add(), SimpleJSON.JSONClass.Add(), SimpleJSON.JSONNode.Parse(), and SimpleJSON.JSONLazyCreator.Set().

+ Here is the caller graph for this function:

virtual void SimpleJSON.JSONNode.Add ( JSONNode  aItem)
virtual

Reimplemented in SimpleJSON.JSONLazyCreator.

Definition at line 73 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.Add().

+ Here is the call graph for this function:

static JSONNode SimpleJSON.JSONNode.Deserialize ( System.IO.BinaryReader  aReader)
static
override bool SimpleJSON.JSONNode.Equals ( object  obj)

Definition at line 199 of file SimpleJSON.cs.

static string SimpleJSON.JSONNode.Escape ( string  aText)
staticpackage

Definition at line 211 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONClass.ToString(), and SimpleJSON.JSONData.ToString().

+ Here is the caller graph for this function:

override int SimpleJSON.JSONNode.GetHashCode ( )

Definition at line 203 of file SimpleJSON.cs.

static JSONNode SimpleJSON.JSONNode.LoadFromBase64 ( string  aBase64)
static

Definition at line 574 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.LoadFromStream().

+ Here is the call graph for this function:

static JSONNode SimpleJSON.JSONNode.LoadFromCompressedBase64 ( string  aBase64)
static

Definition at line 550 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.Deserialize().

+ Here is the caller graph for this function:

static JSONNode SimpleJSON.JSONNode.LoadFromCompressedFile ( string  aFileName)
static

Definition at line 542 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.Deserialize().

+ Here is the caller graph for this function:

static JSONNode SimpleJSON.JSONNode.LoadFromCompressedStream ( System.IO.Stream  aData)
static

Definition at line 546 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.Deserialize().

+ Here is the caller graph for this function:

static JSONNode SimpleJSON.JSONNode.LoadFromFile ( string  aFileName)
static

Definition at line 563 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.LoadFromStream().

+ Here is the call graph for this function:

static JSONNode SimpleJSON.JSONNode.LoadFromStream ( System.IO.Stream  aData)
static

Definition at line 556 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.Deserialize().

Referenced by SimpleJSON.JSONNode.Deserialize(), SimpleJSON.JSONNode.LoadFromBase64(), and SimpleJSON.JSONNode.LoadFromFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static implicit SimpleJSON.JSONNode.operator JSONNode ( string  s)
static

Definition at line 180 of file SimpleJSON.cs.

static implicit SimpleJSON.JSONNode.operator string ( JSONNode  d)
static

Definition at line 184 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.Value.

static bool SimpleJSON.JSONNode.operator!= ( JSONNode  a,
object  b 
)
static

Definition at line 195 of file SimpleJSON.cs.

static bool SimpleJSON.JSONNode.operator== ( JSONNode  a,
object  b 
)
static

Definition at line 188 of file SimpleJSON.cs.

static JSONNode SimpleJSON.JSONNode.Parse ( string  aJSON)
static

Definition at line 231 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.Add().

Referenced by SimpleJSON.JSON.Parse().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual JSONNode SimpleJSON.JSONNode.Remove ( string  aKey)
virtual

Reimplemented in SimpleJSON.JSONClass.

Definition at line 78 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONArray.Remove(), and SimpleJSON.JSONClass.Remove().

+ Here is the caller graph for this function:

virtual JSONNode SimpleJSON.JSONNode.Remove ( int  aIndex)
virtual

Reimplemented in SimpleJSON.JSONClass, and SimpleJSON.JSONArray.

Definition at line 79 of file SimpleJSON.cs.

virtual JSONNode SimpleJSON.JSONNode.Remove ( JSONNode  aNode)
virtual

Reimplemented in SimpleJSON.JSONClass, and SimpleJSON.JSONArray.

Definition at line 80 of file SimpleJSON.cs.

string SimpleJSON.JSONNode.SaveToBase64 ( )

Definition at line 455 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.SaveToStream().

+ Here is the call graph for this function:

string SimpleJSON.JSONNode.SaveToCompressedBase64 ( )

Definition at line 437 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.SaveToStream().

+ Here is the caller graph for this function:

void SimpleJSON.JSONNode.SaveToCompressedFile ( string  aFileName)

Definition at line 433 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.SaveToStream().

+ Here is the caller graph for this function:

void SimpleJSON.JSONNode.SaveToCompressedStream ( System.IO.Stream  aData)

Definition at line 429 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.SaveToStream().

+ Here is the caller graph for this function:

void SimpleJSON.JSONNode.SaveToFile ( string  aFileName)

Definition at line 443 of file SimpleJSON.cs.

References Directory, and SimpleJSON.JSONNode.SaveToStream().

+ Here is the call graph for this function:

void SimpleJSON.JSONNode.SaveToStream ( System.IO.Stream  aData)
virtual void SimpleJSON.JSONNode.Serialize ( System.IO.BinaryWriter  aWriter)
virtual

Reimplemented in SimpleJSON.JSONData, SimpleJSON.JSONClass, and SimpleJSON.JSONArray.

Definition at line 387 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONNode.SaveToStream().

+ Here is the caller graph for this function:

override string SimpleJSON.JSONNode.ToString ( )

Definition at line 93 of file SimpleJSON.cs.

Referenced by BackendManager.populateSessions(), and SimpleJSON.JSONArray.ToString().

+ Here is the caller graph for this function:

virtual string SimpleJSON.JSONNode.ToString ( string  aPrefix)
virtual

Property Documentation

virtual JSONArray SimpleJSON.JSONNode.AsArray
get

Definition at line 162 of file SimpleJSON.cs.

virtual bool SimpleJSON.JSONNode.AsBool
getset

Definition at line 148 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONData.JSONData(), and SimpleJSON.JSONData.Serialize().

virtual double SimpleJSON.JSONNode.AsDouble
getset

Definition at line 134 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONData.JSONData(), and SimpleJSON.JSONData.Serialize().

virtual float SimpleJSON.JSONNode.AsFloat
getset

Definition at line 120 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONData.JSONData(), and SimpleJSON.JSONData.Serialize().

virtual JSONClass SimpleJSON.JSONNode.AsObject
get

Definition at line 169 of file SimpleJSON.cs.

virtual IEnumerable<JSONNode> SimpleJSON.JSONNode.Childs
get

Definition at line 82 of file SimpleJSON.cs.

Referenced by SimpleJSON.JSONArray.Remove(), and SimpleJSON.JSONClass.Remove().

virtual int SimpleJSON.JSONNode.Count
get

Definition at line 71 of file SimpleJSON.cs.

Referenced by BackendManager.populateSessions().

IEnumerable<JSONNode> SimpleJSON.JSONNode.DeepChilds
get

Definition at line 84 of file SimpleJSON.cs.

virtual JSONNode SimpleJSON.JSONNode.this[int aIndex]
getset

Definition at line 68 of file SimpleJSON.cs.

virtual JSONNode SimpleJSON.JSONNode.this[string aKey]
getset

Definition at line 69 of file SimpleJSON.cs.

virtual string SimpleJSON.JSONNode.Value
getset

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