Click or drag to resize

RoundTripJsonInputFormatter Class

Handles deserialization of JSON objects for noSQL scenarios that supports round trips without any property loss, even if one side of the transaction is out of data and is not aware of all of the possible JSON properties.

This class is designed to support classes generated by the Neon.ModelGen assembly that implement IRoundtripData.

Inheritance Hierarchy
SystemObject
  InputFormatter
    TextInputFormatter
      Neon.WebRoundTripJsonInputFormatter

Namespace:  Neon.Web
Assembly:  Neon.Web (in Neon.Web.dll) Version: 2.2.0
Syntax
public sealed class RoundTripJsonInputFormatter : TextInputFormatter

The RoundTripJsonInputFormatter type exposes the following members.

Constructors
  NameDescription
Public methodRoundTripJsonInputFormatter
Constructor.
Top
Properties
  NameDescription
Public propertySupportedEncodings
Gets the mutable collection of character encodings supported by this TextInputFormatter. The encodings are used when reading the data.
(Inherited from TextInputFormatter.)
Public propertySupportedMediaTypes
Gets the mutable collection of media type elements supported by this InputFormatter.
(Inherited from InputFormatter.)
Top
Methods
  NameDescription
Public methodCanRead (Inherited from InputFormatter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSupportedContentTypes (Inherited from InputFormatter.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReadAsync (Inherited from InputFormatter.)
Public methodReadRequestBodyAsync(InputFormatterContext) (Inherited from TextInputFormatter.)
Public methodReadRequestBodyAsync(InputFormatterContext, Encoding)
Reads an object from the request body.
(Overrides TextInputFormatter.ReadRequestBodyAsync(InputFormatterContext, Encoding).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also