10

JSON Parsing Made Easy

JSON is the file extension of a data format called JavaScript Object Notation, which is used to store and transport information in a structured format. The JSON format is used extensively for the web. Most modern web Application Programming Interfaces (APIs) use JSON format to transfer data to their web clients.

This chapter will cover the following recipes:

  • JSON format in a nutshell
  • Processing JSON data from a text file
  • Writing JSON data to a text file
  • Using Google’s Geocoding API

Technical requirements

The technical requirements for this chapter include Qt 6.6.1 MinGW 64-bit and Qt Creator 12.0.2. All the code used in this chapter can be downloaded from the following GitHub repository: https://github.com/PacktPublishing/QT6-C-GUI-Programming-Cookbook---Third-Edition-/tree/main/Chapter10 ...

Get Qt 6 C++ GUI Programming Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.