3 ms·
what environment doesn't have that available? Autocad LISP is the one I ran into. At least it didn't 4 years ago. I'm sure there are other niche cases. Altho
by dagw 10y ago
what environment doesn't have that available?
Autocad LISP is the one I ran into. At least it didn't 4 years ago. I'm sure there are other niche cases.
Although I'll admit I punted and wrote a trivial 'parser' that was only able to read and write the particular JSON I was dealing with in that project.
- ciupicri 10y agoWouldn't be possible to write an external tool that converts JSON to s-expressions and vice-versa?
- dagw 10y agoSure, but then you're just adding additional layers to what was supposed to a fairly straight forward script. Much easier to just include everything in a single program so you can just say give path to input json file here, give name of output file here, and run.
- jlarocco 10y agoFWIW, if the need comes up again: https://github.com/mbeloshitsky/autolisp-json https://github.com/mbeloshitsky/autolisp-json Note it's only two years old, so wouldn't have helped last time ;-)