Best Practices Of json

জেসন (json) কে রেস্ট এপি আই (API) এর প্রাণ বলা হয়ে থাকে।

জেসন এর পুরো মিনিং হচ্ছে জাভাস্ক্রিপ্ট অভজেক্ট নোটেশন।
JavaScript Object Notation (JSON)

  • JSON if a lightweight data-interchange format that is completely language independent
  • It was derived from JavaScript, but many modern programming languages include code to generate and parse JSON format data
  • The official Internet media type for JSON is application/json
  • It was designed for human-readable data interchange
  • The file name extension is .json

Uses of JSON

  • It is used while writing JavaScript based applications that includes browser extensions and websites.
  • Json format is used for serializing and transmitting structured data over network connection.
  • It is sprimarily used to transmit dat between a server and web applications.
  • Web services and APIs use JSON format to provide public data

Characteristices of JSON

  • JSON is easy to read and write.
  • It is a lightweight text-based interchange format.
  • JSON is language independent.

Understanding JSON Structure

Json Image

JSON Data Types


Bad Special Characters & Solution

Bad Special Characters & Solution

JSON জেসন ফাইলে ফরম্যাট ঠিক আছে কি না বা জেসনের ভিবিন্ন সমস্যার সমাধান এই সব ওয়েব সাইটে গিয়ে সহজেই সমাধান করা যায়।

https://codebeautify.org/jsonviewer
https://jsonpathfinder.com/
https://jsonplaceholder.typicode.com/
https://www.liquid-technologies.com/online-json-to-schema-converter
https://www.jsonschemavalidator.net/

Always enclose the key : value pair within double quotes

Json Best Practices

Json Best Practices

Never use Hyphens in your key fields


Bad Special Characters And Solution


Always create a Root element