json

abstract val json: Json

The custom JSON configuration used internally by the database operations, especially crucial for dynamic_dto serialization.

This instance is automatically configured with octaviusSerializersModule as well as dynamically generated serializers for PostgreSQL enums discovered by the TypeRegistry. It ensures that data serialized or deserialized to/from JSON matches the database format.