encode

val encode: EncodeClosure

Default JSON encoder, backed by GSON, that takes a Map<String, Any> and converts it into a JSON String.