C# 클래스 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.
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

CreateFromString() 공개 정적인 메소드

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
리턴 JSONObject

ToDisplayableString() 공개 메소드

Prints the JSONObject as a formatted string, suitable for viewing.
public ToDisplayableString ( ) : string
리턴 string