Class Json5Serializer

All Implemented Interfaces:
AnnotationProvider, JsonMetaProvider
Direct Known Subclasses:

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


This is a JSON serializer that uses simplified notation:

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