Search This Blog

Tuesday, May 19, 2020

JSON VS CSON VS XML VS YAML

JSON (JavaScript Object Notation)

{
"a": 1,
"b": [ 1, 2, 3 ],
"c": "Hello",
"d": true,
"e": "c"
}

CSON (CoffeeScript Object Notation)

"a": 1
    "b":
-1
-2
-3
    "c": "Hello"
    "d": true
    "e": "c"

XML (Extensible Markup Language)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<a>1</a>
<b>1</b>
<b>2</b>
<b>3</b>
<c>Hello</c>
<d>true</d>
<e>c</e>
</root>

YAML (Human-Readable Data-Serialization Language)

a: 1
b:
  - 1
  - 2
  - 3
c: "Hello"
d: true
e: 'c'

No comments:

Post a Comment


This is a User Friendly Blog.
Simple Interface and Simple Controls are used.
Post your comments so i can modify blog regarding your wish.