testing lib with json

This commit is contained in:
2025-03-15 19:37:08 +01:00
parent 6b4a7c48c8
commit a503b39524
3 changed files with 51 additions and 0 deletions

19
other/json/json.lark Normal file
View File

@ -0,0 +1,19 @@
?value: dict
| list
| string
| SIGNED_NUMBER -> number
| "true" -> true
| "false" -> false
| "null" -> null
list: "[" [value ("," value)*] "]"
dict: "{" [pair ("," pair)*] "}"
pair: string ":" value
string: ESCAPED_STRING
%import common.ESCAPED_STRING
%import common.SIGNED_NUMBER
%import common.WS
%ignore WS