24 Data formats

This chapter covers

  • Why data serialization formats are needed
  • JSON’s primitive and structured data types
  • Interpreting JSON-formatted data
  • Other data serialization formats: XML and YAML

In the previous chapter, we established that communication between software applications on different devices is essential for network automation. We also covered one essential part of making that possible: application programming interfaces (APIs). APIs open up an application’s data to allow external applications to access it in an efficient and uniform manner.

In this chapter, we’ll cover the second half of the puzzle. For successful communication between applications, it’s not enough for App A to be able to access App B’s data; the data itself ...

Get Acing the CCNA Exam, Volume 2 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.