Class Json5Serializer

All Implemented Interfaces:
AnnotationProvider, JsonMetaProvider
Direct Known Subclasses:
Json5Serializer.Readable

public class Json5Serializer extends JsonSerializer
Serializes POJO models to Simplified JSON.
Media types
Handles Accept types: application/json, text/json

Produces Content-Type types: application/json5

Description

This is a JSON serializer that uses simplified notation:

  • Lax quoting of JSON attribute names.
  • Single quotes.
Notes:
  • This class is thread safe and reusable.
See Also: