Skip to main content

Find a trailing comma in a JSON fixture

Locate a deliberate syntax error before handing a fixture to another tool.

Set up the example

Validate the practice file, remove the extra comma immediately before the closing bracket, then validate again.

Check the result

The initial input should fail. After removing that one comma it should parse as a one-record array containing A17.

Run this task

Use your own file or download the practice input below. The checks on this page describe the practice result.

Continue with a related task

Open JSON Formatter · Browse all file tasks