Property | Type | Description | |
---|---|---|---|
b | bool | ||
keys | List |
||
list | List |
||
n | double | ||
n | float | ||
releaseQueue | Queue |
||
str | string | ||
type | Type |
Method | Description | |
---|---|---|
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 |
||
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 |
||
JSONObject ( string>.Dictionary |
||
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 |
Method | Description | |
---|---|---|
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 |
public AddField ( string name, AddJSONConents content ) : void | ||
name | string | |
content | AddJSONConents | |
return | void |
public AddField ( string name, JSONObject, obj ) : void | ||
name | string | |
obj | JSONObject, | |
return | void |
public AddField ( string name, bool val ) : void | ||
name | string | |
val | bool | |
return | void |
public AddField ( string name, float val ) : void | ||
name | string | |
val | float | |
return | void |
public AddField ( string name, int val ) : void | ||
name | string | |
val | int | |
return | void |
public AddField ( string name, string val ) : void | ||
name | string | |
val | string | |
return | void |
public static Create ( AddJSONConents content ) : JSONObject, | ||
content | AddJSONConents | |
return | JSONObject, |
public static Create ( string>.Dictionary |
||
dic | string>.Dictionary | |
return | JSONObject, |
public static Create ( Type t ) : JSONObject, | ||
t | Type | |
return | JSONObject, |
public static Create ( bool val ) : JSONObject, | ||
val | bool | |
return | JSONObject, |
public static Create ( float val ) : JSONObject, | ||
val | float | |
return | JSONObject, |
public static Create ( int val ) : JSONObject, | ||
val | int | |
return | JSONObject, |
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 |
return | JSONObject, |
public static CreateBakedObject ( string val ) : JSONObject, | ||
val | string | |
return | JSONObject, |
public static CreateStringObject ( string val ) : JSONObject, | ||
val | string | |
return | JSONObject, |
public GetField ( string name ) : JSONObject, | ||
name | string | |
return | JSONObject, |
public GetField ( bool &field, string name, FieldNotFound fail = null ) : void | ||
field | bool | |
name | string | |
fail | FieldNotFound | |
return | void |
public GetField ( double &field, string name, FieldNotFound fail = null ) : void | ||
field | double | |
name | string | |
fail | FieldNotFound | |
return | void |
public GetField ( float &field, string name, FieldNotFound fail = null ) : void | ||
field | float | |
name | string | |
fail | FieldNotFound | |
return | void |
public GetField ( int &field, string name, FieldNotFound fail = null ) : void | ||
field | int | |
name | string | |
fail | FieldNotFound | |
return | void |
public GetField ( string name, GetFieldResponse response, FieldNotFound fail = null ) : void | ||
name | string | |
response | GetFieldResponse | |
fail | FieldNotFound | |
return | void |
public GetField ( string &field, string name, FieldNotFound fail = null ) : void | ||
field | string | |
name | string | |
fail | FieldNotFound | |
return | void |
public GetField ( uint &field, string name, FieldNotFound fail = null ) : void | ||
field | uint | |
name | string | |
fail | FieldNotFound | |
return | void |
public JSONObject ( AddJSONConents content ) : System.Diagnostics | ||
content | AddJSONConents | |
return | System.Diagnostics |
public JSONObject ( JSONObject>.Dictionary |
||
dic | JSONObject>.Dictionary | |
return | System.Diagnostics |
public JSONObject ( string>.Dictionary |
||
dic | string>.Dictionary | |
return | System.Diagnostics |
public JSONObject ( JSONObject, objs ) : System.Diagnostics | ||
objs | JSONObject, | |
return | System.Diagnostics |
public JSONObject ( Type t ) : System.Diagnostics | ||
t | Type | |
return | System.Diagnostics |
public JSONObject ( bool b ) : System.Diagnostics | ||
b | bool | |
return | System.Diagnostics |
public JSONObject ( double d ) : System.Diagnostics | ||
d | double | |
return | System.Diagnostics |
public JSONObject ( float f ) : System.Diagnostics | ||
f | float | |
return | System.Diagnostics |
public JSONObject ( string str, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : System.Diagnostics | ||
str | string | |
maxDepth | int | |
storeExcessLevels | bool | |
strict | bool | |
return | System.Diagnostics |
public PrintAsync ( bool pretty = false ) : IEnumerable |
||
pretty | bool | |
return | IEnumerable |
public SetField ( string name, JSONObject, obj ) : void | ||
name | string | |
obj | JSONObject, | |
return | void |
public SetField ( string name, bool val ) : void | ||
name | string | |
val | bool | |
return | void |
public SetField ( string name, float val ) : void | ||
name | string | |
val | float | |
return | void |
public SetField ( string name, int val ) : void | ||
name | string | |
val | int | |
return | void |
public static StringObject ( string val ) : JSONObject, | ||
val | string | |
return | JSONObject, |