C# 클래스 LitJson.MiniJSON

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.
파일 보기 프로젝트 열기: meta-42/uEasyKit

공개 메소드들

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

Parses the string json into a value

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

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