메소드 | 설명 | |
---|---|---|
CanDeserialize ( MediaRange mediaRange, Nancy.ModelBinding.BindingContext context ) : bool |
Whether the deserializer can deserialize the content type
|
|
Deserialize ( MediaRange mediaRange, Stream bodyStream, Nancy.ModelBinding.BindingContext context ) : object |
Deserialize the request body to a model
|
|
JsonNetBodyDeserializer ( ) : System |
Empty constructor if no converters are needed
|
|
JsonNetBodyDeserializer ( |
Constructor to use when a custom serializer are needed.
|
메소드 | 설명 | |
---|---|---|
ConvertCollection ( object items, |
||
CopyPropertyValue ( BindingMemberInfo property, object sourceObject, object destinationObject ) : void | ||
CreateObjectWithBlacklistExcluded ( Nancy.ModelBinding.BindingContext context, object deserializedObject ) : object |
public CanDeserialize ( MediaRange mediaRange, Nancy.ModelBinding.BindingContext context ) : bool | ||
mediaRange | MediaRange | Content type to deserialize |
context | Nancy.ModelBinding.BindingContext | Current |
리턴 | bool |
public Deserialize ( MediaRange mediaRange, Stream bodyStream, Nancy.ModelBinding.BindingContext context ) : object | ||
mediaRange | MediaRange | Content type to deserialize |
bodyStream | Stream | Request body stream |
context | Nancy.ModelBinding.BindingContext | Current context |
리턴 | object |
public JsonNetBodyDeserializer ( |
||
serializer | Json serializer used when deserializing. | |
리턴 | System |