C# 클래스 AssetBundleGraph.Json

This class encodes and decodes JSON strings. Spec. details, see http://www.json.org/ JSON uses Arrays and Objects. These correspond here to the datatypes IList and IDictionary. All numbers are parsed to doubles.
파일 보기 프로젝트 열기: unity3d-jp/AssetGraph

공개 메소드들

메소드 설명
Deserialize ( string json ) : object

Parses the string json into a value

Prettify ( string sourceJson ) : string
Serialize ( object obj ) : string

Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string

메소드 상세

Deserialize() 공개 정적인 메소드

Parses the string json into a value
public static Deserialize ( string json ) : object
json string A JSON string.
리턴 object

Prettify() 공개 정적인 메소드

public static Prettify ( string sourceJson ) : string
sourceJson string
리턴 string

Serialize() 공개 정적인 메소드

Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string
public static Serialize ( object obj ) : string
obj object
리턴 string