Toolkit Bay

JSON Validator

Check whether your JSON file is valid or not

See more validator tools

JSON Validator

What is JSON ?

JSON (JavaScript Object Notation) is a file format or structure that uses human-readable text for transmitting data or objects such as text, number, list, object( yes, javascript object), and others.

JSON object is native in Javasscript and can be seen as key - value pair. JSON is pretty common object used to send data over the internet.

Sample of Valid JSON Text :

{
  "name" : "doggy",
  "skills" : [
    {"duration":5, "name":"bark"},
    {"duration":2, "name":"smile"},
    {"duration":99999, "name":"loving"}
  ]
}

or

{ "age":15 }

Sample of Invalid JSON Text :

{ name: "doggy" }

or

{
  "name" : "doggy",
  "skills" : [
    {"duration":5, "name":"bark"},
    {"duration":2, "name":"smile"},
    {"duration":99999, "name":"loving"},
  ]
}

Common Error

  • You probably have an extra comma at the end of your collection. Something like { "key": "value", }
  • Not enclosing your collection keys in quotes. Valid format for a collection is { "key": "value" }
Category
validator
Tags

About

Toolkit Bay or TKB is an online tools website providing free and easy to use tools to increase productivity.

If you have any inquiries or suggestions or issues, you can contact us on: contact@toolkitbay.com

Data & Privacy

We respect your data. Uploaded file/data/input will be automatically deleted. And the processed data will be deleted less than a day.

More detail on privacy here

Copyright © 2024 Toolkit Bay. All Rights Reserved