NumericEnumSerializer
Custom serializer for numeric enum fields that converts JsonElement values to Double during deserialization.
During deserialization:
JsonPrimitive numbers → converted to Double
JsonPrimitive strings → parsed to Double if possible, otherwise error
Other types → error
During serialization, converts List