Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Json.format

Json.format($mapOrJson, $options = {}) -> string

Description

Convert a map or JSON string into a human-readable format, suitable for debugging.

If $options is -strict, the final output will be strictly valid JSON (double-quoted keys, etc.).