Skip to content

TOML Serializer

Tom's Obvious Minimal Language format.

Configuration

kete.routes.<name>.serializer.kind=toml

Example Output

User Event

id = "a7c2f8e1-4b3d-4a9e-8f7c-2d1e5b9a3c4f"
time = 1704816000000
type = "LOGIN"
realmId = "master"
clientId = "my-app"
userId = "550e8400-e29b-41d4-a716-446655440000"
ipAddress = "192.168.1.100"

[details]
username = "john.doe"
remember_me = "true"

Admin Event

id = "b9d3e7f2-5c4e-4b1f-9a8d-3e2f6c1b4a5e"
time = 1704816000000
operationType = "CREATE"
resourceType = "USER"
realmId = "master"
resourcePath = "users/user-uuid"

[authDetails]
realmId = "master"
clientId = "admin-cli"
userId = "admin-uuid"