C# 클래스 Rock.Utility.RockJsonTextWriter

A JsonTextWriter that is aware of SerializeInSimpleMode AttributeCacheJsonConverter and AttributeValueJsonConverter use this to figure out how they should serialize
상속: Newtonsoft.Json.JsonTextWriter
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
RockJsonTextWriter ( System textWriter, bool serializeInSimpleMode ) : System

Initializes a new instance of the RockJsonTextWriter class.

SerializeObjectInSimpleMode ( object value, Formatting formatting, JsonSerializerSettings jsonSettings ) : string

Serializes the object in simple mode.

메소드 상세

RockJsonTextWriter() 공개 메소드

Initializes a new instance of the RockJsonTextWriter class.
public RockJsonTextWriter ( System textWriter, bool serializeInSimpleMode ) : System
textWriter System The text writer.
serializeInSimpleMode bool if set to true [serialize in simple mode].
리턴 System

SerializeObjectInSimpleMode() 공개 정적인 메소드

Serializes the object in simple mode.
public static SerializeObjectInSimpleMode ( object value, Formatting formatting, JsonSerializerSettings jsonSettings ) : string
value object The value.
formatting Formatting The formatting.
jsonSettings Newtonsoft.Json.JsonSerializerSettings The json settings.
리턴 string