serialize#

RuntimeEnv.serialize() → str[source]#

Validate this runtime environment and serialize it to JSON.

Returns:

A JSON string with sorted keys.

Return type:

str