From d9107f0514e20d4b79ae33e1eed512f759dc5829 Mon Sep 17 00:00:00 2001 From: RayPals Date: Mon, 1 Jun 2026 00:52:08 +0200 Subject: [PATCH] Add tests/06_json_nested.claro from Claro v1.17.26 zip --- tests/06_json_nested.claro | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/06_json_nested.claro diff --git a/tests/06_json_nested.claro b/tests/06_json_nested.claro new file mode 100644 index 0000000..949d01c --- /dev/null +++ b/tests/06_json_nested.claro @@ -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