encodeEnvironmentSurrogate

inline fun <TS : Any, PS : PositionSurrogate> ERROR CLASS: Symbol not found for Json.encodeEnvironmentSurrogate(env: EnvironmentSurrogate<TS, PS>): String

Encode the EnvironmentSurrogate to a JSON string using the EnvironmentSurrogate.polymorphicSerializer to serialize the concentrations.

Return

the JSON string.

Parameters

env

the EnvironmentSurrogate to encode.

the type of [PositionSurrogate].