Метод | Описание | |
---|---|---|
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 ( ) : System | ||
Результат | System |
public JsonNetBodyDeserializer ( |
||
serializer | Json serializer used when deserializing. | |
Результат | System |