Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/JSON/Common-Lisp/json.lisp
Normal file
9
Task/JSON/Common-Lisp/json.lisp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(ql:quickload '("cl-json"))
|
||||
|
||||
(json:encode-json
|
||||
'#( ((foo . (1 2 3)) (bar . t) (baz . #\!))
|
||||
"quux" 4/17 4.25))
|
||||
|
||||
(print (with-input-from-string
|
||||
(s "{\"foo\": [1, 2, 3], \"bar\": true, \"baz\": \"!\"}")
|
||||
(json:decode-json s)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue