C# 클래스 JSONObject, FuseSDKUnity

파일 보기 프로젝트 열기: fusepowered/FuseSDKUnity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
b bool
keys List
list List
n double
n float
releaseQueue Queue
str string
type Type

공개 메소드들

메소드 설명
Absorb ( JSONObject, obj ) : void
Add ( AddJSONConents content ) : void
Add ( JSONObject, obj ) : void
Add ( bool val ) : void
Add ( float val ) : void
Add ( int val ) : void
Add ( string str ) : void
AddField ( string name, AddJSONConents content ) : void
AddField ( string name, JSONObject, 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
Bake ( ) : void
BakeAsync ( ) : IEnumerable
Clear ( ) : void
ClearPool ( ) : void
Copy ( ) : JSONObject,

Copy a JSONObject. This could probably work better

Create ( ) : JSONObject,
Create ( AddJSONConents content ) : JSONObject,
Create ( string>.Dictionary dic ) : JSONObject,
Create ( Type t ) : JSONObject,
Create ( bool val ) : JSONObject,
Create ( float val ) : JSONObject,
Create ( int val ) : JSONObject,
Create ( string val, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : JSONObject,

Create a JSONObject by parsing string data

CreateBakedObject ( string val ) : JSONObject,
CreateStringObject ( string val ) : JSONObject,
GetField ( string name ) : JSONObject,
GetField ( bool &field, string name, FieldNotFound fail = null ) : void
GetField ( double &field, string name, FieldNotFound fail = null ) : void
GetField ( float &field, string name, FieldNotFound fail = null ) : void
GetField ( int &field, string name, FieldNotFound fail = null ) : void
GetField ( string name, GetFieldResponse response, FieldNotFound fail = null ) : void
GetField ( string &field, string name, FieldNotFound fail = null ) : void
GetField ( uint &field, string name, FieldNotFound fail = null ) : void
HasField ( string name ) : bool
HasFields ( string names ) : bool
JSONObject ( ) : System.Diagnostics
JSONObject ( AddJSONConents content ) : System.Diagnostics
JSONObject ( JSONObject>.Dictionary dic ) : System.Diagnostics
JSONObject ( string>.Dictionary dic ) : System.Diagnostics
JSONObject ( JSONObject, objs ) : System.Diagnostics
JSONObject ( Type t ) : System.Diagnostics
JSONObject ( bool b ) : System.Diagnostics
JSONObject ( double d ) : System.Diagnostics
JSONObject ( float f ) : System.Diagnostics
JSONObject ( string str, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : System.Diagnostics
Merge ( JSONObject, obj ) : void
Print ( bool pretty = false ) : string
PrintAsync ( bool pretty = false ) : IEnumerable
RemoveField ( string name ) : void
SetField ( string name, JSONObject, obj ) : void
SetField ( string name, bool val ) : void
SetField ( string name, float val ) : void
SetField ( string name, int val ) : void
StringObject ( string val ) : JSONObject,
ToDictionary ( ) : string>.Dictionary
ToString ( ) : string
ToString ( bool pretty ) : string
this ( int index ) : JSONObject
this ( string index ) : JSONObject

비공개 메소드들

메소드 설명
MergeRecur ( JSONObject, left, JSONObject, right ) : void

Merge object right into left recursively

Parse ( string str, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : void
Stringify ( int depth, StringBuilder builder, bool pretty = false ) : void
StringifyAsync ( int depth, StringBuilder builder, bool pretty = false ) : IEnumerable

메소드 상세

Absorb() 공개 메소드

public Absorb ( JSONObject, obj ) : void
obj JSONObject,
리턴 void

Add() 공개 메소드

public Add ( AddJSONConents content ) : void
content AddJSONConents
리턴 void

Add() 공개 메소드

public Add ( JSONObject, obj ) : void
obj JSONObject,
리턴 void

Add() 공개 메소드

public Add ( bool val ) : void
val bool
리턴 void

Add() 공개 메소드

public Add ( float val ) : void
val float
리턴 void

Add() 공개 메소드

public Add ( int val ) : void
val int
리턴 void

Add() 공개 메소드

public Add ( string str ) : void
str string
리턴 void

AddField() 공개 메소드

public AddField ( string name, AddJSONConents content ) : void
name string
content AddJSONConents
리턴 void

AddField() 공개 메소드

public AddField ( string name, JSONObject, obj ) : void
name string
obj JSONObject,
리턴 void

AddField() 공개 메소드

public AddField ( string name, bool val ) : void
name string
val bool
리턴 void

AddField() 공개 메소드

public AddField ( string name, float val ) : void
name string
val float
리턴 void

AddField() 공개 메소드

public AddField ( string name, int val ) : void
name string
val int
리턴 void

AddField() 공개 메소드

public AddField ( string name, string val ) : void
name string
val string
리턴 void

Bake() 공개 메소드

public Bake ( ) : void
리턴 void

BakeAsync() 공개 메소드

public BakeAsync ( ) : IEnumerable
리턴 IEnumerable

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

ClearPool() 공개 정적인 메소드

public static ClearPool ( ) : void
리턴 void

Copy() 공개 메소드

Copy a JSONObject. This could probably work better
public Copy ( ) : JSONObject,
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( ) : JSONObject,
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( AddJSONConents content ) : JSONObject,
content AddJSONConents
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( string>.Dictionary dic ) : JSONObject,
dic string>.Dictionary
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( Type t ) : JSONObject,
t Type
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( bool val ) : JSONObject,
val bool
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( float val ) : JSONObject,
val float
리턴 JSONObject,

Create() 공개 정적인 메소드

public static Create ( int val ) : JSONObject,
val int
리턴 JSONObject,

Create() 공개 정적인 메소드

Create a JSONObject by parsing string data
public static Create ( string val, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : JSONObject,
val string The string to be parsed
maxDepth int The maximum depth for the parser to search. Set this to to 1 for the first level, /// 2 for the first 2 levels, etc. It defaults to -2 because -1 is the depth value that is parsed (see below)
storeExcessLevels bool Whether to store levels beyond maxDepth in baked JSONObjects
strict bool Whether to be strict in the parsing. For example, non-strict parsing will successfully /// parse "a string" into a string-type
리턴 JSONObject,

CreateBakedObject() 공개 정적인 메소드

public static CreateBakedObject ( string val ) : JSONObject,
val string
리턴 JSONObject,

CreateStringObject() 공개 정적인 메소드

public static CreateStringObject ( string val ) : JSONObject,
val string
리턴 JSONObject,

GetField() 공개 메소드

public GetField ( string name ) : JSONObject,
name string
리턴 JSONObject,

GetField() 공개 메소드

public GetField ( bool &field, string name, FieldNotFound fail = null ) : void
field bool
name string
fail FieldNotFound
리턴 void

GetField() 공개 메소드

public GetField ( double &field, string name, FieldNotFound fail = null ) : void
field double
name string
fail FieldNotFound
리턴 void

GetField() 공개 메소드

public GetField ( float &field, string name, FieldNotFound fail = null ) : void
field float
name string
fail FieldNotFound
리턴 void

GetField() 공개 메소드

public GetField ( int &field, string name, FieldNotFound fail = null ) : void
field int
name string
fail FieldNotFound
리턴 void

GetField() 공개 메소드

public GetField ( string name, GetFieldResponse response, FieldNotFound fail = null ) : void
name string
response GetFieldResponse
fail FieldNotFound
리턴 void

GetField() 공개 메소드

public GetField ( string &field, string name, FieldNotFound fail = null ) : void
field string
name string
fail FieldNotFound
리턴 void

GetField() 공개 메소드

public GetField ( uint &field, string name, FieldNotFound fail = null ) : void
field uint
name string
fail FieldNotFound
리턴 void

HasField() 공개 메소드

public HasField ( string name ) : bool
name string
리턴 bool

HasFields() 공개 메소드

public HasFields ( string names ) : bool
names string
리턴 bool

JSONObject() 공개 메소드

public JSONObject ( ) : System.Diagnostics
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( AddJSONConents content ) : System.Diagnostics
content AddJSONConents
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( JSONObject>.Dictionary dic ) : System.Diagnostics
dic JSONObject>.Dictionary
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( string>.Dictionary dic ) : System.Diagnostics
dic string>.Dictionary
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( JSONObject, objs ) : System.Diagnostics
objs JSONObject,
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( Type t ) : System.Diagnostics
t Type
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( bool b ) : System.Diagnostics
b bool
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( double d ) : System.Diagnostics
d double
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( float f ) : System.Diagnostics
f float
리턴 System.Diagnostics

JSONObject() 공개 메소드

public JSONObject ( string str, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : System.Diagnostics
str string
maxDepth int
storeExcessLevels bool
strict bool
리턴 System.Diagnostics

Merge() 공개 메소드

public Merge ( JSONObject, obj ) : void
obj JSONObject,
리턴 void

Print() 공개 메소드

public Print ( bool pretty = false ) : string
pretty bool
리턴 string

PrintAsync() 공개 메소드

public PrintAsync ( bool pretty = false ) : IEnumerable
pretty bool
리턴 IEnumerable

RemoveField() 공개 메소드

public RemoveField ( string name ) : void
name string
리턴 void

SetField() 공개 메소드

public SetField ( string name, JSONObject, obj ) : void
name string
obj JSONObject,
리턴 void

SetField() 공개 메소드

public SetField ( string name, bool val ) : void
name string
val bool
리턴 void

SetField() 공개 메소드

public SetField ( string name, float val ) : void
name string
val float
리턴 void

SetField() 공개 메소드

public SetField ( string name, int val ) : void
name string
val int
리턴 void

StringObject() 공개 정적인 메소드

public static StringObject ( string val ) : JSONObject,
val string
리턴 JSONObject,

ToDictionary() 공개 메소드

public ToDictionary ( ) : string>.Dictionary
리턴 string>.Dictionary

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( bool pretty ) : string
pretty bool
리턴 string

this() 공개 메소드

public this ( int index ) : JSONObject
index int
리턴 JSONObject

this() 공개 메소드

public this ( string index ) : JSONObject
index string
리턴 JSONObject

프로퍼티 상세

b 공개적으로 프로퍼티

public bool b
리턴 bool

keys 공개적으로 프로퍼티

public List keys
리턴 List

list 공개적으로 프로퍼티

public List list
리턴 List

n 공개적으로 프로퍼티

public double n
리턴 double

n 공개적으로 프로퍼티

public float n
리턴 float

releaseQueue 공개적으로 정적으로 프로퍼티

public static Queue releaseQueue
리턴 Queue

str 공개적으로 프로퍼티

public string str
리턴 string

type 공개적으로 프로퍼티

public Type type
리턴 Type