C# Class JSON, CrownEngine

显示文件 Open project: 3dever/CrownEngine Class Usage Examples

Public Properties

Property Type Description
b bool
keys ArrayList
list ArrayList
n float
parent JSON,
str string
type Type

Public Methods

Method Description
Add ( JSON, obj ) : void
AddField ( bool val ) : void
AddField ( float val ) : void
AddField ( int val ) : void
AddField ( string name, JSON, obj ) : void
AddField ( string name, bool val ) : void
AddField ( string name, float val ) : void
AddField ( string name, int val ) : void
AddField ( string name, string val ) : void
Clear ( ) : void
Copy ( ) : JSON,
GetField ( string name ) : JSON,
HasField ( string name ) : bool
JSON ( ) : UnityEngine
JSON ( JSON, t ) : UnityEngine
JSON ( bool b ) : UnityEngine
JSON ( float f ) : UnityEngine
JSON ( string str ) : UnityEngine
Merge ( JSON, obj ) : void
SetField ( string name, JSON, obj ) : void
ToString ( ) : string
print ( ) : string
print ( int depth ) : string
this ( int index ) : JSON,
this ( string index ) : JSON,

Private Methods

Method Description
MergeRecur ( JSON, left, JSON, right ) : void

Method Details

Add() public method

public Add ( JSON, obj ) : void
obj JSON,
return void

AddField() public method

public AddField ( bool val ) : void
val bool
return void

AddField() public method

public AddField ( float val ) : void
val float
return void

AddField() public method

public AddField ( int val ) : void
val int
return void

AddField() public method

public AddField ( string name, JSON, obj ) : void
name string
obj JSON,
return void

AddField() public method

public AddField ( string name, bool val ) : void
name string
val bool
return void

AddField() public method

public AddField ( string name, float val ) : void
name string
val float
return void

AddField() public method

public AddField ( string name, int val ) : void
name string
val int
return void

AddField() public method

public AddField ( string name, string val ) : void
name string
val string
return void

Clear() public method

public Clear ( ) : void
return void

Copy() public method

public Copy ( ) : JSON,
return JSON,

GetField() public method

public GetField ( string name ) : JSON,
name string
return JSON,

HasField() public method

public HasField ( string name ) : bool
name string
return bool

JSON() public method

public JSON ( ) : UnityEngine
return UnityEngine

JSON() public method

public JSON ( JSON, t ) : UnityEngine
t JSON,
return UnityEngine

JSON() public method

public JSON ( bool b ) : UnityEngine
b bool
return UnityEngine

JSON() public method

public JSON ( float f ) : UnityEngine
f float
return UnityEngine

JSON() public method

public JSON ( string str ) : UnityEngine
str string
return UnityEngine

Merge() public method

public Merge ( JSON, obj ) : void
obj JSON,
return void

SetField() public method

public SetField ( string name, JSON, obj ) : void
name string
obj JSON,
return void

ToString() public method

public ToString ( ) : string
return string

print() public method

public print ( ) : string
return string

print() public method

public print ( int depth ) : string
depth int
return string

this() public method

public this ( int index ) : JSON,
index int
return JSON,

this() public method

public this ( string index ) : JSON,
index string
return JSON,

Property Details

b public_oe property

public bool b
return bool

keys public_oe property

public ArrayList keys
return ArrayList

list public_oe property

public ArrayList list
return ArrayList

n public_oe property

public float n
return float

parent public_oe property

public JSON, parent
return JSON,

str public_oe property

public string str
return string

type public_oe property

public Type type
return Type