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

Public Member Functions

 JSONData (string aData)
 
 JSONData (float aData)
 
 JSONData (double aData)
 
 JSONData (bool aData)
 
 JSONData (int aData)
 
override string ToString ()
 
override string ToString (string aPrefix)
 
override void Serialize (System.IO.BinaryWriter aWriter)
 
- Public Member Functions inherited from SimpleJSON.JSONNode
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 ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void SaveToStream (System.IO.Stream aData)
 
void SaveToCompressedStream (System.IO.Stream aData)
 
void SaveToCompressedFile (string aFileName)
 
string SaveToCompressedBase64 ()
 
void SaveToFile (string aFileName)
 
string SaveToBase64 ()
 

Properties

override string Value [get, set]
 
- Properties inherited from SimpleJSON.JSONNode
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]
 

Private Attributes

string m_Data
 

Additional Inherited Members

- Static Public Member Functions inherited from SimpleJSON.JSONNode
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 inherited from SimpleJSON.JSONNode
static string Escape (string aText)
 

Detailed Description

Definition at line 813 of file SimpleJSON.cs.

Constructor & Destructor Documentation

SimpleJSON.JSONData.JSONData ( string  aData)

Definition at line 821 of file SimpleJSON.cs.

SimpleJSON.JSONData.JSONData ( float  aData)

Definition at line 825 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.AsFloat.

SimpleJSON.JSONData.JSONData ( double  aData)

Definition at line 829 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.AsDouble.

SimpleJSON.JSONData.JSONData ( bool  aData)

Definition at line 833 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.AsBool.

SimpleJSON.JSONData.JSONData ( int  aData)

Definition at line 837 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.AsInt.

Member Function Documentation

override void SimpleJSON.JSONData.Serialize ( System.IO.BinaryWriter  aWriter)
virtual
override string SimpleJSON.JSONData.ToString ( )

Definition at line 842 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.Escape().

+ Here is the call graph for this function:

override string SimpleJSON.JSONData.ToString ( string  aPrefix)
virtual

Reimplemented from SimpleJSON.JSONNode.

Definition at line 846 of file SimpleJSON.cs.

References SimpleJSON.JSONNode.Escape().

+ Here is the call graph for this function:

Member Data Documentation

string SimpleJSON.JSONData.m_Data
private

Definition at line 815 of file SimpleJSON.cs.

Property Documentation

override string SimpleJSON.JSONData.Value
getset

Definition at line 817 of file SimpleJSON.cs.


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