JSON serialization function with pretty formatting.
import asdf; static struct S { int a; } assert(S(4).serializeToJsonPretty == "{\n\t\"a\": 4\n}");
See Implementation
JSON serialization function with pretty formatting.