Add tests/06_json_nested.claro from Claro v1.17.26 zip

This commit is contained in:
RayPals
2026-06-01 00:52:08 +02:00
parent 0ac62bafd3
commit d9107f0514
+8
View File
@@ -0,0 +1,8 @@
SET text TO "{\"a\":[1,2,{\"b\":\"hi there\"}]}"
PARSE JSON text AS obj
GET obj KEY "a" AS arr
GET arr AT 3 AS third
GET third KEY "b" AS b
SAY b
MAKE JSON obj AS out
SAY out