logo Online Tools

JSON5 Beautify / Validator Online

JSON5 Beautify / Validator Online -summary

The JSON5 Beautify / Validator Online tool provides online json5 format verification, json5 format, json5 data compression and json5 data beautification functions.

JSON5 Beautify / Validator Online -instructions
The JSON5 Data Interchange Format (JSON5) is a superset of JSON that aims to alleviate some of the limitations of JSON by expanding its syntax to include some productions from ECMAScript 5.1.
Summary of Features
The following ECMAScript 5.1 features, which are not supported in JSON, have been extended to JSON5.
  1. Object keys may be an ECMAScript 5.1 IdentifierName.
  2. Objects may have a single trailing comma.
  1. Arrays may have a single trailing comma.
  1. Strings may be single quoted.
  2. Strings may span multiple lines by escaping new line characters.
  3. Strings may include character escapes.
  1. Numbers may be hexadecimal.
  2. Numbers may have a leading or trailing decimal point.
  3. Numbers may be IEEE 754 positive infinity, negative infinity, and NaN.
  4. Numbers may begin with an explicit plus sign.
  1. Single and multi-line comments are allowed.
White Space
  1. Additional white space characters are allowed.