-
Hello, friends! I'll be sure to show off what I'm working on when it's ready (and it's just about ready). For now, I'm trying to figure out how to package up the project. For that, I need to build an image of a janet file that has exactly one dependency: spork's In the file: I But
I also tried to build a
And get the identical error. (And a slightly different one if I This seems like something Help is extremely appreciated! (Especially because the alternative is writing my own JSON encoder in pure Janet, which is, like, not exactly my idea of a good time.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I ran into this exact issue and to solve it I ended up making a pure-Janet library for JSON encoding and decoding called Jayson. The API is (almost) identical to spork/json, with the one exception that Jayson uses Feel free to give Jayson a try and see if it solves your problem—I'm also interested to know if anyone else has a solution for this problem that I didn't think of. 🙂 |
Beta Was this translation helpful? Give feedback.
I ran into this exact issue and to solve it I ended up making a pure-Janet library for JSON encoding and decoding called Jayson. The API is (almost) identical to spork/json, with the one exception that Jayson uses
:json/null
to represent JSON Null rather than spork/json's:null
. Because it's pure Janet, it works with .jimage files no problem.Feel free to give Jayson a try and see if it solves your problem—I'm also interested to know if anyone else has a solution for this problem that I didn't think of. 🙂