RunConfigurationJson

JSON codec for RunConfiguration.

Wraps the standard kotlinx-serialization-json serializer with settings appropriate for run configuration documents:

These settings mirror those used by ksl.simulation.ModelDescriptor.toJson.

Functions

Link copied to clipboard

Deserialises a RunConfiguration from a JSON string produced by encode.

Link copied to clipboard

Serialises config to a pretty-printed JSON string.