JSON WTF

A totally normal and not hard quiz about JSON

What you're getting yourself into

You will have three options for each JSON snippet

  • valid: parsers should accept the input according to RFC 8259
  • invalid: parsers should reject the input according to RFC 8259
  • maybe valid: up to the parser to decide whether to accept the input or otherwise ambiguous

The questions aren't meant to trick you. There won't be any gotcha whitespace or unannounced unprintable characters. If a string says "pretend I'm encoded in UTF-8", then trust it. There's enough weirdness to go around as is!