Wednesday, October 25, 2017

Paradise ponders: it was just yesterday edition...

Paradise ponders: it was just yesterday edition...  Only 24 hours ago I mentioned that so far I had ended up writing utility C code myself instead of using third-party libraries.  Well, that ended this morning! :)  I needed to create some JSON-encoded output, and naturally I wondered if someone had a C library for that.  The answer is a resounding “Yes!” – I found dozens of them.  I looked for simple and small, and found this one that I quite liked, right down to the MIT license.  In this case the easy way to use the library was to simply download the two source files (one .c, one.h).  It all compiled and worked on the first try.  I might have to do a little more of that!