Interface ModelSerializer

All Known Implementing Classes:
KeyWriter, NullSerializer, ObjectTypeSerializer

public interface ModelSerializer
Type serializer.
All the instances are required to be reusable and without any states stored in the class fields.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(Object value, jakarta.json.stream.JsonGenerator generator, SerializationContextImpl context)
    Serialize provided value or delegate serialization to the next serializer.
  • Method Details

    • serialize

      void serialize(Object value, jakarta.json.stream.JsonGenerator generator, SerializationContextImpl context)
      Serialize provided value or delegate serialization to the next serializer.
      Parameters:
      value - value to be serialized
      generator - json generator
      context - serialization context