C# Class facebook_pages_crawler.JSONObject

Represents an object encoded in JSON. Can be either a dictionary mapping strings to other objects, an array of objects, or a single object, which represents a scalar.
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Méthode Description
CreateFromString ( string s ) : JSONObject

Creates a JSONObject by parsing a string. This is the only correct way to create a JSONObject.

ToDisplayableString ( ) : string

Prints the JSONObject as a formatted string, suitable for viewing.

Private Methods

Méthode Description
Create ( object o ) : JSONObject

Recursively constructs this JSONObject

JSONObject ( ) : System
RecursiveDictionaryToString ( JSONObject obj, StringBuilder sb, int level ) : void
RecursiveObjectToString ( JSONObject obj, StringBuilder sb, int level ) : void

Method Details

CreateFromString() public static méthode

Creates a JSONObject by parsing a string. This is the only correct way to create a JSONObject.
public static CreateFromString ( string s ) : JSONObject
s string
Résultat JSONObject

ToDisplayableString() public méthode

Prints the JSONObject as a formatted string, suitable for viewing.
public ToDisplayableString ( ) : string
Résultat string