This commit is contained in:
allexanderbergmns
2026-08-25 15:26:30 +02:00
parent 76e912c922
commit 4ccc8a0f95
16 changed files with 546 additions and 50 deletions
+18
View File
@@ -0,0 +1,18 @@
// json.vr — JSON helpers (part of the VuurRaaf stdlib).
//
// import json
// let data = json.decode("{\"a\": 1}")
// println(json.encode(data))
// println(json.pretty(data))
fn encode(x) {
return json_encode(x)
}
fn decode(s) {
return json_decode(s)
}
fn pretty(x) {
return json_pretty(x)
}