Timeline for An ideal way to decode JSON documents in C?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:40 | history | edited | CommunityBot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| Oct 22, 2013 at 21:48 | comment | added | Móż | If you know what objects you're going to be consuming it should be fairly straightforward to map the data classes onto structures, define the structures in C, then map the incoming data to those. Straightforward, but ugly. FWIW this recently pushed me into C++ for one project because C and JSON gets ugly fast if you're not building your JSON with the C consumer in mind (collections don't always map nicely to integer-indexed arrays). That project bridges C-only embedded hardware to websites that use JSON. | |
| Sep 22, 2013 at 19:47 | history | edited | Ross Patterson | CC BY-SA 3.0 | typo |
| Sep 21, 2013 at 20:15 | comment | added | Abdulaziz | I wasn't exactly asking about JSON parsers(as you mentioned, there are a bunch of them at json.org). however, my question was more about organizing the code that uses the parser. | |
| Sep 21, 2013 at 12:59 | history | answered | Ross Patterson | CC BY-SA 3.0 |