C# 클래스 LightNode.Formatter.JsonContentFormatter

상속: LightNode.Formatter.ContentFormatterBase
파일 보기 프로젝트 열기: neuecc/LightNode

공개 메소드들

메소드 설명
Deserialize ( Type type, System stream ) : object
JsonContentFormatter ( Encoding encoding, string mediaType = "application/json", string ext = "json" ) : LightNode.Core
JsonContentFormatter ( JsonSerializer serializer, Encoding encoding, string mediaType = "application/json", string ext = "json" ) : LightNode.Core
JsonContentFormatter ( JsonSerializer serializer, string mediaType = "application/json", string ext = "json" ) : LightNode.Core
JsonContentFormatter ( string mediaType = "application/json", string ext = "json" ) : LightNode.Core
Serialize ( System stream, object obj ) : void

메소드 상세

Deserialize() 공개 메소드

public Deserialize ( Type type, System stream ) : object
type System.Type
stream System
리턴 object

JsonContentFormatter() 공개 메소드

public JsonContentFormatter ( Encoding encoding, string mediaType = "application/json", string ext = "json" ) : LightNode.Core
encoding System.Text.Encoding
mediaType string
ext string
리턴 LightNode.Core

JsonContentFormatter() 공개 메소드

public JsonContentFormatter ( JsonSerializer serializer, Encoding encoding, string mediaType = "application/json", string ext = "json" ) : LightNode.Core
serializer Newtonsoft.Json.JsonSerializer
encoding System.Text.Encoding
mediaType string
ext string
리턴 LightNode.Core

JsonContentFormatter() 공개 메소드

public JsonContentFormatter ( JsonSerializer serializer, string mediaType = "application/json", string ext = "json" ) : LightNode.Core
serializer Newtonsoft.Json.JsonSerializer
mediaType string
ext string
리턴 LightNode.Core

JsonContentFormatter() 공개 메소드

public JsonContentFormatter ( string mediaType = "application/json", string ext = "json" ) : LightNode.Core
mediaType string
ext string
리턴 LightNode.Core

Serialize() 공개 메소드

public Serialize ( System stream, object obj ) : void
stream System
obj object
리턴 void