Just for the record, we have now:
Json.toString()
Json.toPrettyString()
writeJsonString(dst, json)
(wastoJson
)writePrettyJsonString(dst, json)
(wastoPrettyJson
)
The old toXYZ
functions are still there as aliases but will be deprecated after the next release.