Import and Export JSON

Learn to import and export JSON in the Realtime Database.

We'll cover the following

As mentioned earlier, the Firebase Realtime Database stores data as a JSON tree. JavaScript Object Notation (JSON) is a popular, portable file format that uses human-readable text to store and share data over a network. Our application database structures data using JavaScript’s object syntax. It supports the same basic data types supported by a standard JavaScript object—strings, numbers, arrays, booleans, and other object literals. This allows us to construct a data hierarchy, as shown here:

Get hands-on with 1200+ tech skills courses.