Hi,
I am a newbie to Jannson and just downloaded the library 2.4 from
json.org. I wrote small pieces of code to clear my understanding of the various APIs which
jansson provides. I underrstand how the various APIs work , the ending /decoding stuff . Can someone tell me that
1. Do we have a generic way of decoding and encoding the data from JSON. Like for eg. i am receiving some JSON data from a file stream . (Assuming this data will be different everytime), do we have a
generic code which will convert this JSON type of data to the C format for me ?
2. Same for the encoding . Maybe encoding part is still under our control since we know what we are sending out .
Any help is sincerely appreciated.
Thanks,
Ashish