Interface for companion objects of serializable types. Its main purpose is to serialize and deserialize values between raw JSON and typed values.
T The template type.
Internal
Encodes T in expected shape for JSON API.
Interface for companion objects of serializable types. Its main purpose is to serialize and deserialize values between raw JSON and typed values.
Typeparam
T The template type.