polymorphic Serializer
fun polymorphicSerializer(): <Error class: unknown class><EnvironmentSurrogate<Any, PositionSurrogate>>
Return
The most general polymorphic serializer for the EnvironmentSurrogate class, using Any and PositionSurrogate as type parameters.