Is JSON a language, if not how would it be classified?

后端 未结 4 2459
攒了一身酷
攒了一身酷 2021-02-20 02:52

Considering JSON (JavaScript Object Notation), is JSON itself a language, or is it only defined in context of another language? By language, I

4条回答
  •  甜味超标
    2021-02-20 03:35

    It's a data interchange format.

    JSON (JavaScript Object Notation) is a lightweight data-interchange format.

    http://json.org

    JavaScript Object Notation is a text-based open standard designed for human-readable data interchange.

    Type of format: Data interchange

    http://en.wikipedia.org/wiki/Json


    is it only defined in context of a language

    Certainly not. It is entirely possible to write applications which use JSON but not JavaScript.

提交回复
热议问题