JsonSource reads JSON config through kotlinx-serialization-json. Nested objects become dot-separated keys (server.port) and arrays of plain values become lists. Comments, trailing commas and a leading BOM are accepted.
JsonSource
server.port
The JSON source.