Skip to Main Content
Network Programmability and Automation Fundamentals
book

Network Programmability and Automation Fundamentals

by Khaled Abuelenain, Jeff Doyle, Anton Karneliuk, Vinit Jain
May 2021
Intermediate to advanced content levelIntermediate to advanced
1232 pages
41h 29m
English
Cisco Press
Content preview from Network Programmability and Automation Fundamentals

Chapter 11

JSON

This chapter covers the encoding format JavaScript Object Notation (JSON). Much like XML, JSON is used to encode the messages of network programmability protocols. Whereas NETCONF supports only XML, RESTCONF and gRPC both support JSON. JSON is newer than XML. Whereas XML was primarily developed for machine-to-machine communications, JSON was developed to be human readable. JSON therefore tends to be the more popular choice for encoding when specific XML features are not required.

This chapter also covers one of the applications of JSON: JSON Schema Definition (JSD). JSD is used to construct schemas, or data models, and can be used either independently or in conjunction with YANG (which is covered in detail in Chapter 13, “YANG ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Network Programmability and Automation

Network Programmability and Automation

Jason Edelman, Scott S. Lowe, Matt Oswalt
Cisco Data Center Fundamentals

Cisco Data Center Fundamentals

Somit Maloo, Iskren Nikolov

Publisher Resources

ISBN: 9780135183762