Enum JsonSchemaProfile
- Namespace
- ShapeShift.Json
- Assembly
- ShapeShift.Json.dll
The serialization format that a JSON Schema projection describes.
public enum JsonSchemaProfile
Fields
Json = 0Describes the JSON encoding produced by JsonSerializer.
MessagePack = 1Describes the MessagePack encoding, adding
x-msgpack-*annotations wherever MessagePack uses a representation that JSON cannot express directly.
Remarks
JSON Schema describes the JSON data model. When a profile other than Json is selected, the projection still describes the logical structure using JSON Schema keywords, but adds annotations that describe how the format actually encodes each value on the wire.