Euphoria Audio, LLC

Audio, Video and Data Consulting

libJSON Basic Parser Example

3 Comments »

libJSON is a great C/C++ library written by Jonathan Wallace and can be found on Sourceforge. Previously we looked at how to create a new JSON node tree programmatically that could be sent over the wire to consumer. Now we'll look at the consumer side and see how to parse the JSON string into our application.

Read the rest of this entry »

libJSON Array Example

2 Comments »

libJSON is a great C/C++ library written by Jonathan Wallace and can be found on Sourceforge. This quick example will show you how to add an array to your JSON tree.

Read the rest of this entry »

libJSON Child Node Example

No Comments »

libJSON is a great C/C++ library written by Jonathan Wallace and can be found on Sourceforge. In my previous post, I showed you an example of how to create a very simple JSON tree without any branches, just a few nodes. Now we'll look at how to create a branch off the main tree.

Read the rest of this entry »

libJSON Simple Write Example

No Comments »

libJSON is a great C/C++ library written by Jonathan Wallace and can be found on Sourceforge. I needed a quick and easy way to generate JSON strings to dump in MQ messages and also parse JSON from various sorces and after trying a few of them, I settled on libJSON as the easest to use. The documentation included with the source was great for figuring out what the functions did, but it took me a while to get up and running due to a lack of examples.

Read the rest of this entry »