Format JSON with indentation for readability. Configurable indent size (default 2 spaces).
Example
{"name":"Alice","age":30} → formatted with indentation
[1,2,3] → [\n 1,\n 2,\n 3\n]
Format JSON with indentation for readability. Configurable indent size (default 2 spaces).
{"name":"Alice","age":30} → formatted with indentation
[1,2,3] → [\n 1,\n 2,\n 3\n]