JSON parsing
JSON parsing JSON is used for various formats within Apertis, and potentially also for various web APIs. It is a well defined format, and several mature libraries exist for parsing it. However, the JSON being parsed typically comes from untrusted sources (user input or untrusted web APIs), so must be validated extremely carefully to prevent exploits.
Summary Use a standard library to parse JSON, such as json-glib. (Parsing JSON) Be careful to pair up JSON reader functions on all code paths.
[Read More]