Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Delphi Programming Projects

You're reading from   Delphi Programming Projects Build a range of exciting projects by exploring cross-platform development and microservices

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789130553
Length 248 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
William Duarte William Duarte
Author Profile Icon William Duarte
William Duarte
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Building an Instagram Clone 2. Building a Facebook REST API FREE CHAPTER 3. Cross-Platform Services for Windows, iOS, and Android 4. Design Patterns to Build a Multi-Database System 5. Creating GUI Apps with FireMonkey 6. Implementing Tethering to Create a Remote Control 7. Building Microservices Using the RAD Server 8. Other Books You May Enjoy

Working with JSON

JSON is an open standard file format that utilizes to convey data objects. These objects consist of attribute-value pairs and array data types. Delphi provides a native library for working with JSON containing classes and methods for storing, parsing, reading, writing, and generating data. Facebook works with JSON information traffic through the Graph API. When you use communication with Facebook's REST server, the expected return is the result of the JSON standard.

The following code snippet illustrates an example in JSON:

{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
...
You have been reading a chapter from
Delphi Programming Projects
Published in: May 2019
Publisher: Packt
ISBN-13: 9781789130553
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image