C# Class SimpleJSON.JSONNode

ファイルを表示 Open project: drakelinglabs/unityarmada Class Usage Examples

Public Methods

Method Description
Add ( JSONNode aItem ) : void
Add ( string aKey, JSONNode aItem ) : void
Deserialize ( System aReader ) : JSONNode
Equals ( object obj ) : bool
GetHashCode ( ) : int
LoadFromBase64 ( string aBase64 ) : JSONNode
LoadFromCompressedBase64 ( string aBase64 ) : JSONNode
LoadFromCompressedFile ( string aFileName ) : JSONNode
LoadFromCompressedStream ( System aData ) : JSONNode
LoadFromStream ( System aData ) : JSONNode
Parse ( string aJSON ) : JSONNode
Remove ( JSONNode aNode ) : JSONNode
Remove ( int aIndex ) : JSONNode
Remove ( string aKey ) : JSONNode
SaveToBase64 ( ) : string
SaveToCompressedBase64 ( ) : string
SaveToCompressedFile ( string aFileName ) : void
SaveToCompressedStream ( System aData ) : void
SaveToStream ( System aData ) : void
Serialize ( System aWriter ) : void
ToJSON ( int prefix ) : string
ToString ( ) : string
ToString ( string aPrefix ) : string
operator ( ) : bool
this ( int aIndex ) : JSONNode
this ( string aKey ) : JSONNode

Private Methods

Method Description
AddElement ( JSONNode ctx, string token, string tokenName, bool tokenIsString ) : void
Escape ( string aText ) : string
Numberize ( string token ) : JSONData

Method Details

Add() public method

public Add ( JSONNode aItem ) : void
aItem JSONNode
return void

Add() public method

public Add ( string aKey, JSONNode aItem ) : void
aKey string
aItem JSONNode
return void

Deserialize() public static method

public static Deserialize ( System aReader ) : JSONNode
aReader System
return JSONNode

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

LoadFromBase64() public static method

public static LoadFromBase64 ( string aBase64 ) : JSONNode
aBase64 string
return JSONNode

LoadFromCompressedBase64() public static method

public static LoadFromCompressedBase64 ( string aBase64 ) : JSONNode
aBase64 string
return JSONNode

LoadFromCompressedFile() public static method

public static LoadFromCompressedFile ( string aFileName ) : JSONNode
aFileName string
return JSONNode

LoadFromCompressedStream() public static method

public static LoadFromCompressedStream ( System aData ) : JSONNode
aData System
return JSONNode

LoadFromStream() public static method

public static LoadFromStream ( System aData ) : JSONNode
aData System
return JSONNode

Parse() public static method

public static Parse ( string aJSON ) : JSONNode
aJSON string
return JSONNode

Remove() public method

public Remove ( JSONNode aNode ) : JSONNode
aNode JSONNode
return JSONNode

Remove() public method

public Remove ( int aIndex ) : JSONNode
aIndex int
return JSONNode

Remove() public method

public Remove ( string aKey ) : JSONNode
aKey string
return JSONNode

SaveToBase64() public method

public SaveToBase64 ( ) : string
return string

SaveToCompressedBase64() public method

public SaveToCompressedBase64 ( ) : string
return string

SaveToCompressedFile() public method

public SaveToCompressedFile ( string aFileName ) : void
aFileName string
return void

SaveToCompressedStream() public method

public SaveToCompressedStream ( System aData ) : void
aData System
return void

SaveToStream() public method

public SaveToStream ( System aData ) : void
aData System
return void

Serialize() public method

public Serialize ( System aWriter ) : void
aWriter System
return void

ToJSON() public abstract method

public abstract ToJSON ( int prefix ) : string
prefix int
return string

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( string aPrefix ) : string
aPrefix string
return string

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( int aIndex ) : JSONNode
aIndex int
return JSONNode

this() public method

public this ( string aKey ) : JSONNode
aKey string
return JSONNode