Input Raw JSON
0 chars | 0 lines
JSON Specification & Common Syntax Errors
Double Quotes Rule
Under RFC 8259, all JSON property names (keys) and string values must be enclosed in double quotes ("..."). Single quotes ('...') are strictly prohibited and will cause parsing errors.
Trailing Commas Trap
Unlike JavaScript objects, standard JSON does not permit trailing commas after the last element in an array or object. Clicking our Auto-Repair JSON button will automatically strip these invalid commas.
Supported Data Types
Standard JSON supports 6 data types: String, Number, Boolean (true/false), Null, Array, and Object. Functions, undefined, and dates are not native JSON types.