Json – Is JSON a markup language like XML?

jsonmarkupxml

I'm a little bit confused, because some websites tell me JSON is not a markup language like XML, but a few say the opposite. Maybe you can give me some hint?

Best Answer

From Wikipedia:

A (document) markup language is a modern system for annotating a document in a way that is syntactically distinguishable from the text. The idea and terminology evolved from the "marking up" of paper manuscripts, i.e., the revision instructions by editors, traditionally written with a blue pencil on authors' manuscripts.

So, no. JSON is not a Markup Language.

For that matter, nor is XML. Wikipedia describes it as "a meta markup language" since it provides a foundation for creating markup languages on.

JSON is like XML in that it is used to structure data in a text format and is commonly used to exchange data over the Internet.