CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 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