=== Document 1 ===
Valid JSON (object): 4 objects, 4 arrays, 9 strings, 8 numbers, 1 booleans, 1 nulls; depth 4
Compact: {"course":"C++ Programming","meta":{"notes":"line1\nline2","size_kb":1500,"version":2},"published":true,"rating":4.75,"students":[{"marks":[92,88,95],"mentor":null,"name":"Asha"},{"marks":[67,74],"mentor":"Meera","name":"Ravi \"RK\" Kumar"}],"tags":["oop","stl","café","🚀"]}
Pretty:
{
  "course": "C++ Programming",
  "meta": {
    "notes": "line1\nline2",
    "size_kb": 1500,
    "version": 2
  },
  "published": true,
  "rating": 4.75,
  "students": [
    {
      "marks": [
        92,
        88,
        95
      ],
      "mentor": null,
      "name": "Asha"
    },
    {
      "marks": [
        67,
        74
      ],
      "mentor": "Meera",
      "name": "Ravi \"RK\" Kumar"
    }
  ],
  "tags": [
    "oop",
    "stl",
    "café",
    "🚀"
  ]
}
? course  =>  "C++ Programming"  (string)
? students[1].name  =>  "Ravi \"RK\" Kumar"  (string)
? students[0].marks[2]  =>  95  (number)
? students[5]  =>  not found
? meta.size_kb  =>  1500  (number)
? tags  =>  ["oop","stl","café","🚀"]  (array)
? meta.missing  =>  not found
=== Document 2 ===
Valid JSON (array): 1 objects, 4 arrays, 0 strings, 4 numbers, 0 booleans, 0 nulls; depth 3
Compact: [1,2,[3,[4,[]]],{}]
Pretty:
[
  1,
  2,
  [
    3,
    [
      4,
      []
    ]
  ],
  {}
]
=== Document 3 ===
Invalid JSON at line 1, column 13: duplicate key "a"
=== Document 4 ===
Invalid JSON at line 1, column 28: expected a string key
=== Document 5 ===
Invalid JSON at line 2, column 1: expected ',' or ']' in array
=== Document 6 ===
Invalid JSON at line 1, column 7: numbers cannot have leading zeros
=== Document 7 ===
Valid JSON (string): 0 objects, 0 arrays, 1 strings, 0 numbers, 0 booleans, 0 nulls; depth 0
Compact: "just a string"
Pretty:
"just a string"
?   =>  "just a string"  (string)
