Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 |
return | 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 |
return | object |
public JsonNetBodyDeserializer ( |
||
serializer | Json serializer used when deserializing. | |
return | System |