Click or drag to resize

IRoundtripData Interface

Used by the Neon.ModelGen assembly to indicate that a class was generated as a round-trip data model.

Namespace:  Neon.Data
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public interface IRoundtripData

The IRoundtripData type exposes the following members.

Methods
  NameDescription
Public method__Load
Loads the instance properties from the backing JObject or the optional source parameter.
Public method__Save
Persists the instance properties to the backing JObject.
Public methodToBytes
Renders the instance as UTF-8 encoded JSON.
Public methodToJObject
Renders the instance as a JObject.
Public methodToString
Renders the instance as JSON text, optionally formatting the output.
Public methodWriteJsonTo
Writes the instance as JSON to a Stream.
Public methodWriteJsonToAsync
Asynchronously writes the instance as JSON to a Stream.
Top
See Also