Add docs/JSON.md from Claro v1.17.26 zip

This commit is contained in:
RayPals
2026-06-01 00:53:45 +02:00
parent 9f05b5ea35
commit faac0a7898
+20
View File
@@ -0,0 +1,20 @@
# JSON in Claro
## Parse JSON text
```claro
PARSE JSON myText AS value
```
If JSON is invalid, Claro reports the character offset and a short snippet near the error.
## Make JSON text
```claro
MAKE JSON value AS text
```
### Pretty JSON
```claro
MAKE JSON PRETTY value AS text
```
Pretty output is easier to read for config files and debugging.