Click or drag to resize

RoundTripJsonOutputFormatter Class

Handles serialization 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

Namespace:  Neon.Web
Assembly:  Neon.Web (in Neon.Web.dll) Version: 2.14.0
public sealed class RoundTripJsonOutputFormatter : TextOutputFormatter

The RoundTripJsonOutputFormatter type exposes the following members.

Public methodRoundTripJsonOutputFormatter
Public propertySupportedEncodings
Gets the mutable collection of character encodings supported by this TextOutputFormatter. The encodings are used when writing the data.
(Inherited from TextOutputFormatter.)
Public propertySupportedMediaTypes
Gets the mutable collection of media type elements supported by this OutputFormatter.
(Inherited from OutputFormatter.)
Public methodCanWriteResult (Inherited from OutputFormatter.)
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 OutputFormatter.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSelectCharacterEncoding
Determines the best Encoding amongst the supported encodings for reading or writing an HTTP entity body based on the provided content type.
(Inherited from TextOutputFormatter.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteAsync (Inherited from TextOutputFormatter.)
Public methodWriteResponseBodyAsync(OutputFormatterWriteContext) (Inherited from TextOutputFormatter.)
Public methodWriteResponseBodyAsync(OutputFormatterWriteContext, Encoding)
Writes the response body.
(Overrides TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext, Encoding).)
Public methodWriteResponseHeaders
Sets the headers on HttpResponse object.
(Inherited from OutputFormatter.)
See Also