SimpleJSON.JSONNumber Class Reference
Inheritance diagram for SimpleJSON.JSONNumber:
SimpleJSON.JSONNode

Public Member Functions

 JSONNumber (double aData)
 
 JSONNumber (string aData)
 
override void Serialize (System.IO.BinaryWriter aWriter)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
- 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 ()
 
virtual string ToString (int aIndent)
 
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 JSONNodeType Tag [get]
 
override bool IsNumber [get]
 
override string Value [get, set]
 
override double AsDouble [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 bool IsNumber [get]
 
virtual bool IsString [get]
 
virtual bool IsBoolean [get]
 
virtual bool IsNull [get]
 
virtual bool IsArray [get]
 
virtual bool IsObject [get]
 
virtual IEnumerable< JSONNodeChildren [get]
 
IEnumerable< JSONNodeDeepChildren [get]
 
abstract JSONNodeType Tag [get]
 
virtual double AsDouble [get, set]
 
virtual int AsInt [get, set]
 
virtual float AsFloat [get, set]
 
virtual bool AsBool [get, set]
 
virtual JSONArray AsArray [get]
 
virtual JSONObject AsObject [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from SimpleJSON.JSONNode
static implicit operator JSONNode (string s)
 
static implicit operator string (JSONNode d)
 
static implicit operator JSONNode (double n)
 
static implicit operator double (JSONNode d)
 
static implicit operator JSONNode (float n)
 
static implicit operator float (JSONNode d)
 
static implicit operator JSONNode (int n)
 
static implicit operator int (JSONNode d)
 
static implicit operator JSONNode (bool b)
 
static implicit operator bool (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)
 

Constructor & Destructor Documentation

◆ JSONNumber() [1/2]

SimpleJSON.JSONNumber.JSONNumber ( double  aData)

◆ JSONNumber() [2/2]

SimpleJSON.JSONNumber.JSONNumber ( string  aData)

Member Function Documentation

◆ Equals()

override bool SimpleJSON.JSONNumber.Equals ( object  obj)

◆ GetHashCode()

override int SimpleJSON.JSONNumber.GetHashCode ( )

◆ Serialize()

override void SimpleJSON.JSONNumber.Serialize ( System.IO.BinaryWriter  aWriter)
virtual

Reimplemented from SimpleJSON.JSONNode.

Property Documentation

◆ AsDouble

override double SimpleJSON.JSONNumber.AsDouble
getset

◆ IsNumber

override bool SimpleJSON.JSONNumber.IsNumber
get

◆ Tag

override JSONNodeType SimpleJSON.JSONNumber.Tag
get

◆ Value

override string SimpleJSON.JSONNumber.Value
getset

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