write abstract method

Object? write(
  1. T value,
  2. TypeInfo type,
  3. JsonSerializerOptions options
)

Converts the value to JSON format.

@param value The value of type T to convert to JSON. @param type The type information describing the value. @param options The serializer options containing configuration. @returns The JSON-compatible representation of the value.

Implementation

Object? write(T value, TypeInfo type, JsonSerializerOptions options);