Thursday, July 9, 2020

Introduction to JSON and BSON in MongoDB

Introduction to JSON and BSON in MongoDB Introduction to JSON BSON in MongoDB Back Home Categories Online Courses Mock Interviews Webinars NEW Community Write for Us Categories Artificial Intelligence AI vs Machine Learning vs Deep LearningMachine Learning AlgorithmsArtificial Intelligence TutorialWhat is Deep LearningDeep Learning TutorialInstall TensorFlowDeep Learning with PythonBackpropagationTensorFlow TutorialConvolutional Neural Network TutorialVIEW ALL BI and Visualization What is TableauTableau TutorialTableau Interview QuestionsWhat is InformaticaInformatica Interview QuestionsPower BI TutorialPower BI Interview QuestionsOLTP vs OLAPQlikView TutorialAdvanced Excel Formulas TutorialVIEW ALL Big Data What is HadoopHadoop ArchitectureHadoop TutorialHadoop Interview QuestionsHadoop EcosystemData Science vs Big Data vs Data AnalyticsWhat is Big DataMapReduce TutorialPig TutorialSpark TutorialSpark Interview QuestionsBig Data TutorialHive TutorialVIEW ALL Blockchain Blockchain TutorialWhat is BlockchainHyperledger FabricWhat Is EthereumEthereum TutorialB lockchain ApplicationsSolidity TutorialBlockchain ProgrammingHow Blockchain WorksVIEW ALL Cloud Computing What is AWSAWS TutorialAWS CertificationAzure Interview QuestionsAzure TutorialWhat Is Cloud ComputingWhat Is SalesforceIoT TutorialSalesforce TutorialSalesforce Interview QuestionsVIEW ALL Cyber Security Cloud SecurityWhat is CryptographyNmap TutorialSQL Injection AttacksHow To Install Kali LinuxHow to become an Ethical Hacker?Footprinting in Ethical HackingNetwork Scanning for Ethical HackingARP SpoofingApplication SecurityVIEW ALL Data Science Python Pandas TutorialWhat is Machine LearningMachine Learning TutorialMachine Learning ProjectsMachine Learning Interview QuestionsWhat Is Data ScienceSAS TutorialR TutorialData Science ProjectsHow to become a data scientistData Science Interview QuestionsData Scientist SalaryVIEW ALL Data Warehousing and ETL What is Data WarehouseDimension Table in Data WarehousingData Warehousing Interview QuestionsData warehouse architectureTalend T utorialTalend ETL ToolTalend Interview QuestionsFact Table and its TypesInformatica TransformationsInformatica TutorialVIEW ALL Databases What is MySQLMySQL Data TypesSQL JoinsSQL Data TypesWhat is MongoDBMongoDB Interview QuestionsMySQL TutorialSQL Interview QuestionsSQL CommandsMySQL Interview QuestionsVIEW ALL DevOps What is DevOpsDevOps vs AgileDevOps ToolsDevOps TutorialHow To Become A DevOps EngineerDevOps Interview QuestionsWhat Is DockerDocker TutorialDocker Interview QuestionsWhat Is ChefWhat Is KubernetesKubernetes TutorialVIEW ALL Front End Web Development What is JavaScript รข€" All You Need To Know About JavaScriptJavaScript TutorialJavaScript Interview QuestionsJavaScript FrameworksAngular TutorialAngular Interview QuestionsWhat is REST API?React TutorialReact vs AngularjQuery TutorialNode TutorialReact Interview QuestionsVIEW ALL Mobile Development Android TutorialAndroid Interview QuestionsAndroid ArchitectureAndroid SQLite DatabaseProgramming BSO... MongoDB Dev and Admin (17 Blogs) Become a Certified Professional Introduction to JSON BSON in MongoDB Last updated on Apr 22,2020 5.1K Views edureka1 Comments Bookmark Become a Certified Professional What is JSON?JSON is JavaScript Object Notation. It is a light-weight data interchange format, which can get transferred from one system to the other easily.It is easy to read and write this format. It is also not a complex task for machines to parse and generate. The text format is completely language independent.At high level, JSON will have two things- An object and an array. An object is a collection of name/value pairs and an array is an ordered list of values.With the combination of two, you can have a complete JSON structure. The maximum amount of documents that one can embed in a document is 100. This is a very important factor while working with MongoDB.So an object will start with curly braces and end with curly braces and then comes the key and value. An array will start with the nor mal, non-curly brackets, then comes value and comma. There are data types that can be supported. See the image below to understand it better.What is BSON?BSON is nothing but Binary JSON i.e Binary JavaScript Object Notation. Unlike JSON, it is not in a readable format. It supports the embedding of documents and arrays within other documents and arrays. Like JSON, it is easy for machines to parse and generate.For more information on both these topics, you can always get an insight from various sources. When you check the websites for information, you will see the difference in JSON and BSON and understand how different the two are in terms of readability.Got a question for us? Mention them in the comments section and we will get back to you.Related Posts:Understanding Journaling in MongoDBGet started with MongoDBRecommended videos for you Introduction to MongoDB Watch Now Build Application With MongoDB Watch NowRecommended blogs for you What is the use of DECODE function in SQL? Read Article SQL Datetime: Everything you Need to Know Read Article Learn About Concatenate In SQL With Examples Read Article Foreign Key SQL : Everything You Need To Know About Foreign Key Operations Read Article MongoDB Vs Cassandra Read Article Learn How To Use CASE Statement In SQL Read Article Understanding SQL Data Types All You Need To Know About SQL Data Types Read Article SSIS Tutorial For Beginners: Why, What and How? Read Article What is DBMS? A Comprehensive Guide to Database Management Systems Read Article SQL Tutorial : One Stop Solution to Learn SQL Read Article MongoDB ® with Hadoop and related Big Data technologies Read Article Introduction to Snitches in Cassandra Read Article Real World Use Cases of MongoDB Read Article SQL Union A Comprehensive Guide on the UNION Operator Read Article Introduction to Column Family with Cassandra Read Article What Is The Use Of SQL GROUP BY Statement? Read Article How to use Auto Increment in SQL? Read Article Top 50 SQL Server Int erview Questions You Must Prepare In 2020 Read Article CREATE TABLE in SQL Everything You Need To Know About Creating Tables in SQL Read Article What is a Schema in SQL and how to create it? Read Article Comments 1 Comment Trending Courses in Databases SQL Essentials Training Certification6k Enrolled LearnersWeekend/WeekdaySelf Paced Reviews 5 (2400)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.