© Sanjay Patni 2017

Sanjay Patni, Pro RESTful APIs, 10.1007/978-1-4842-2665-0_3

3. Introduction - XML, JSON

Sanjay Patni

(1)UCSC Excention, Santa Clara, California, USA

This chapter introduces basic concepts about XML and JSON. At the end of this chapter there is an exercise for environment setup.

What is XML?

eXtensible Markup Language - XML is a text-based markup language which is standard for data interchange on the Web. As with HTML, you identify data using tags (identifiers enclosed in angle brackets, like this: <...>). Collectively, the tags are known as “markup .” It puts a label on a piece of data that identifies it (for example: <message>...</message>). In the same way that you define the field names for a data structure, you are free to ...

Get Pro RESTful APIs: Design, Build and Integrate with REST, JSON, XML and JAX-RS 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.