Skip to content

Instantly share code, notes, and snippets.

Created September 13, 2010 14:50
Show Gist options
  • Save anonymous/577395 to your computer and use it in GitHub Desktop.
Save anonymous/577395 to your computer and use it in GitHub Desktop.
jsonp(
{ "This test-case": "shows how JSONView-0.5.copy.paste formats JSON(P)."
, "number": 243
, "object":
{ "It may look a bit weird, at first": "but it's great for development,"
, "array":
[ 1
, 2
, [ 1
, 2
, { "as adding or removing values": "just changes the lines involved,"
}
]
, "and never any surrounding lines with just a comma added or removed."
, "This makes diffs look way prettier and cleaner in github changesets."
]
, "more\u0000challenging": "stuff \t with \b misc \f control ☠ codes\r\n"
}
, "bool1": true
, "bool2": false
, "null": null
, "japanese": "明日がある。"
, "url": "http://jsonview.com"
, "notnurl": "http://jsonview.com is great"
, "zero": 0
, "float": 47.11
, "empty": ""
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment