0% found this document useful (0 votes)
32 views10 pages

JSON Data: Jennifer Widom

This document provides an introduction to JSON (JavaScript Object Notation). It discusses that JSON is a standard format for serializing data objects in a human-readable way, making it useful for data interchange and representing semistructured data. The document outlines basic JSON constructs like objects, arrays, and base values and compares JSON to other data formats like XML and the relational model.

Uploaded by

Shivangi Agrawal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views10 pages

JSON Data: Jennifer Widom

This document provides an introduction to JSON (JavaScript Object Notation). It discusses that JSON is a standard format for serializing data objects in a human-readable way, making it useful for data interchange and representing semistructured data. The document outlines basic JSON constructs like objects, arrays, and base values and compares JSON to other data formats like XML and the relational model.

Uploaded by

Shivangi Agrawal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

JSON Data

Introduction

Jennifer Widom

JSON Introduction JavaScript Object Notation (JSON) Standard for serializing data objects, usually in files Human-readable, useful for data interchange Also useful for representing & storing semistructured data

Jennifer Widom

JavaScript Object Notation (JSON) No longer tied to JavaScript Parsers for many languages

JSON Introduction

Jennifer Widom

JSON Introduction

Basic constructs (recursive) Base values Objects { } Arrays [ ]


lists of values

number, string, boolean,

sets of label-value pairs

Jennifer Widom

Relational Model versus JSON


Relational Structure Schema Queries Ordering Implementation

JSON Introduction
JSON

Jennifer Widom

XML versus JSON


XML Verbosity Complexity Validity Prog. Interface Querying

JSON Introduction
JSON

Jennifer Widom

JSON Introduction Syntactically valid JSON Adheres to basic structural requirements


Sets of label-value pairs Arrays of values Base values from predefined types

Jennifer Widom

JSON Introduction Syntactically valid JSON Adheres to basic structural requirements


Sets of label-value pairs Arrays of values Base values from predefined types
JSON File

JSON Parser

Program objects

Syntactic errors
Jennifer Widom

JSON Introduction Semantically valid JSON Adheres to basic structural requirements + conforms to specified schema

JSON File

JSON Validator

JSON Parser

Program objects

JSON Schema

Syntactic errors Semantic errors


Jennifer Widom

JSON Introduction JavaScript Object Notation (JSON) Standard for serializing data objects in human-readable format Useful for data interchange, and for representing & storing semistructured data

Jennifer Widom

You might also like