What is difference between json and bson?



What is difference between json and bson?..

Answer / Omkar

JSON (JavaScript Object Notation) and BSON (Binary JSON) are both data interchange formats, but they have some differences:
1. JSON is a text-based format that uses human-readable syntax to represent data.
2. BSON is a binary format that stores data more compactly and efficiently in memory.
3. MongoDB, which uses BSON, converts data between BSON and JSON when communicating with clients or web APIs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSON Interview Questions

Explain jsonp in a simple language.

1 Answers  


Why do we use json in android?

1 Answers  


What is the name of android class do we need to use to build up an json object?

1 Answers  


What is json in javascript?

1 Answers  


What are the JSON Tools for Java Developer?

1 Answers  


What is the extension of json file?

1 Answers  


What does hasownproperty method do?

1 Answers  


Why do we use json in php?

1 Answers  


What is the use of json stringify?

1 Answers  


What are the limitations of jsonp?

1 Answers  


Can you write an example code in json?

1 Answers  


What is the syntax of json?

1 Answers  


Categories