C# Class JSONTools.JSONObject

Show file Open project: DaveSanders/jsontools Class Usage Examples

Public Methods

Method Description
AddChildAttribute ( JSONObject child, string Raw ) : void
AddChildAttribute ( string Raw ) : void
AddChildObject ( string Raw ) : void
AddNode ( ) : JSONObject
AddNode ( string Name, object Value, string Type ) : void
BuildTree ( ) : void
BuildTree ( TreeView Tree ) : void
ChangeName ( string NewName ) : void
Delete ( ) : JSONObject
Deserialize ( string Text ) : void
GetChild ( string ChildName ) : JSONObject
GetLastObject ( JSONObject Input ) : JSONObject
GetNextObject ( ) : JSONObject
GetNextObject ( bool DontGoDown ) : JSONObject
GetPreviousObject ( ) : JSONObject
RemoveChild ( string ChildName ) : void
Serialize ( ) : string
SetImage ( ) : void
SplitObjects ( string JSON ) : List
UpdateText ( string Text ) : void

Method Details

AddChildAttribute() public method

public AddChildAttribute ( JSONObject child, string Raw ) : void
child JSONObject
Raw string
return void

AddChildAttribute() public method

public AddChildAttribute ( string Raw ) : void
Raw string
return void

AddChildObject() public method

public AddChildObject ( string Raw ) : void
Raw string
return void

AddNode() public method

public AddNode ( ) : JSONObject
return JSONObject

AddNode() public method

public AddNode ( string Name, object Value, string Type ) : void
Name string
Value object
Type string
return void

BuildTree() public method

public BuildTree ( ) : void
return void

BuildTree() public method

public BuildTree ( TreeView Tree ) : void
Tree System.Windows.Forms.TreeView
return void

ChangeName() public method

public ChangeName ( string NewName ) : void
NewName string
return void

Delete() public method

public Delete ( ) : JSONObject
return JSONObject

Deserialize() public method

public Deserialize ( string Text ) : void
Text string
return void

GetChild() public method

public GetChild ( string ChildName ) : JSONObject
ChildName string
return JSONObject

GetLastObject() public method

public GetLastObject ( JSONObject Input ) : JSONObject
Input JSONObject
return JSONObject

GetNextObject() public method

public GetNextObject ( ) : JSONObject
return JSONObject

GetNextObject() public method

public GetNextObject ( bool DontGoDown ) : JSONObject
DontGoDown bool
return JSONObject

GetPreviousObject() public method

public GetPreviousObject ( ) : JSONObject
return JSONObject

RemoveChild() public method

public RemoveChild ( string ChildName ) : void
ChildName string
return void

Serialize() public method

public Serialize ( ) : string
return string

SetImage() public method

public SetImage ( ) : void
return void

SplitObjects() public method

public SplitObjects ( string JSON ) : List
JSON string
return List

UpdateText() public method

public UpdateText ( string Text ) : void
Text string
return void