fieldsToJson abstract method

Map<String, Object?> fieldsToJson()

Subtype-specific JSON fields, merged into the tagged map.

Implementation

Map<String, Object?> fieldsToJson();