- Intro
- contact.json introduced
- Json-c
- Installation
- Print version: json-version.c
- Reading a JSON file
- Read contact.json from a file and print the JSON: json-file00.c
- Read contact.json from a file and print the JSON: json-file01.c
- Parsing a Json object - part 1: Intro
- Read contact.json and print 2 name/attribute pairs: json-parse00.c
- Simple reference count example: json-parse01.c
- JSON_types
- Print types of the JSON objects in contact.json: json-type00.c
- Parsing a Json object - part 2 complex parsing
- Print all values of all objects in contact.json: json-parse04.c
- Parsing a Json object - part 3: Json strings
- Create a JSON object from a string and print it: json-str00.c
- Print all values of all objects in contact.json: json-parse05.c (left as excersise)
- Curl/url example
- use curl or ecore_con_url
- Parsing a Json object - part 4: Iteration through a JSON obj
- Illustrate iteration over a JSON object: example
- Print all values of all objects in contact.json yet again: json-parse06.c
- Creating and saving a JSON object
- Create, initialize and save a JSON: json-new00.c
- Editing a JSON Object
- Change attribute values in a JSON: json-edit00.c
- Memory management, ownership and references - part one: overview
- Clarify these issues and answer the question of when to call json_object_put or json_object_get
- Memory management, ownership and references - part two: examples
- Code illustrating memory issues.
- json-mem00.c
- json-mem01.c
- JSON Circular references
- An example of a circular reference: json-error00.c
- JSON Comparison
- Compare two JSONs for equality: json-equal00.c
- JSON Copying *
- JSON Arrays: basics
- A JSON array by itself is valid JSON: json-array00.c
- Deleting a JSON array value: json-array01.c
- Looping over all JSON array values: json-array02.c
- JSON Arrays: sorting and searching
- Sorting and searching a JSON array: json-array03.c
- JSON Pointers
- Introduce using JSON pointers
- Parsing a Json object - part 5: Iterators
- Bettter Encapsulation using iterators
- Parsing a Json object - part 6: Iteration yet again
- Loop through an array: json-array04.c
- Illustrate a depth-first search: json-parse10.c
- Search a JSON for a particular value: json-parse11.c
- Error handling
- threads
- debugging
- automake and meson