JSON file is file extension, an data format for storing and transfer the data between different systems over http networks.. These files contains configuration values very popularly used by windows Operating System.

JSON is abbreviated javascript object notation. Data in json represented as a javascript object with key and values Initialize values as language and it is a new file format. It is used as lightweight data format in size to exchange between client and server over http API’s

It contains String, integers and arrays and list. It also used to store some configuration data with json file with key and value pairs like key:value. These are enclosed in braces.

JSON is suitable for representing data in hash table format and easy to read and write the data using various programming languages.

Advantages of JSOn file extension

  • Easy to read by humans with simple syntax
  • Processing JSON is faster compared with XML,YAML
  • It is human readable for simple configuration and settings
  • Support all popular languages - GO,Java,Python, JavaScript etc.
  • Maintainable
  • Read and write with any programming language
  • content of this files with easy key and value pairs
  • Lightweight

Disadvantages

  • JSON data is not secure while interchange data between different systems.
  • No support for binary data
  • No support for Date type but date in string can be saved
  • There is no support for comments in JSON content

JSOn use cases

  • JSOn can be used in many type of projects for configuration settings
  • Windows uses configuration settings for drivers,keyboards,mouses
  • Configuration and settings of the software applications

JSON file extension

Initialize configuration in a file with extension .JSON, You can use any IDE or text editor to open this file.

** JSON File extension rules**

  • JSON files extension is .JSON by default
  • file supports UTF-8 encoding format only
  • Supports whitespaces, tabs and newlines asci code

MIME format type - text/plain

MIME is abbreviated as Multipurpose Internet Mail Extensions which is a format specified in request and response that is transferred between client and server across internet. Content-Type and accept headers in a request object are specified with this format following is the mime type for this documents

application/json

and request contains the below value for JSON data sending over the internet

Content-type : application/json

Editors

All the popular IDE supports the JSON file extension and also provides plugins to validate the JSOn file content.

  • Notepad++
  • Eclipse
  • Visual Studio Code

The editors provides auto format and linting capabilities