Class JsonSchemaSerializer

All Implemented Interfaces:
Function<Object,String>, ThrowingFunction<Object,String>, JsonMetaProvider, JsonSchemaMetaProvider, ArrayRecordWritable, RecordWritable, TokenWritable
Direct Known Subclasses:
JsonSchemaSerializer.Readable

Serializes POJO metadata to HTTP responses as JSON-Schema.
Media types
Handles Accept types: application/json+schema, text/json+schema

Produces Content-Type types: application/json

Description
Produces the JSON-schema for the JSON produced by the JsonSerializer class with the same properties.
Notes:
  • This class is thread safe and reusable.
See Also: