Skip to content

Instantly share code, notes, and snippets.

@jgarte
Forked from timotheosh/jsonparse.lisp
Created January 19, 2022 08:54
Show Gist options
  • Save jgarte/fc343dfa0334eba0e0bb783f50474e0a to your computer and use it in GitHub Desktop.
Save jgarte/fc343dfa0334eba0e0bb783f50474e0a to your computer and use it in GitHub Desktop.
json parsing in CL
#!/home/thawes/programs/bin/sbcl --script
(load "/home/thawes/.sbclrc")
(require 'cl-json)
;; this is a pathname in CL
(defparameter *file* #P"/home/thawes/src/sources/BibleOrgSys/DataFiles/DerivedFiles/BibleBookOrders_Tables.json")
(json:decode-json-from-source *file*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment