C# 클래스 MongoDB.Driver.JsonUtils

Lightweight routines to handle basic json serializing.
파일 보기 프로젝트 열기: sdether/mongodb-csharp 1 사용 예제들

공개 메소드들

메소드 설명
Escape ( string text ) : string

Escapes any characters that are special to javascript.

Serialize ( Document doc ) : string

비공개 메소드들

메소드 설명
SerializeType ( object value, StringBuilder json ) : void

메소드 상세

Escape() 공개 정적인 메소드

Escapes any characters that are special to javascript.
public static Escape ( string text ) : string
text string
리턴 string

Serialize() 공개 정적인 메소드

public static Serialize ( Document doc ) : string
doc Document
리턴 string