Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jennifer Widom JSON Data Introduction. Jennifer Widom JSON Introduction JavaScript Object Notation (JSON)  Standard for “serializing” data objects, usually.

Similar presentations


Presentation on theme: "Jennifer Widom JSON Data Introduction. Jennifer Widom JSON Introduction JavaScript Object Notation (JSON)  Standard for “serializing” data objects, usually."— Presentation transcript:

1 Jennifer Widom JSON Data Introduction

2 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

3 Jennifer Widom JavaScript Object Notation (JSON)  No longer tied to JavaScript  Parsers for many languages JSON Introduction

4 Jennifer Widom Basic constructs (recursive)  Base values number, string, boolean, …  Objects { } sets of label-value pairs  Arrays [ ] lists of values Basic constructs (recursive)  Base values number, string, boolean, …  Objects { } sets of label-value pairs  Arrays [ ] lists of values JSON Introduction

5 Jennifer Widom Relational Model versus JSON RelationalJSON Structure Schema Queries Ordering Implementation JSON Introduction

6 Jennifer Widom XML versus JSON XMLJSON Verbosity Complexity Validity Prog. Interface Querying JSON Introduction

7 Jennifer Widom Syntactically valid JSON Adheres to basic structural requirements Sets of label-value pairs Arrays of values Base values from predefined types JSON Introduction

8 Jennifer Widom Syntactically valid JSON Adheres to basic structural requirements Sets of label-value pairs Arrays of values Base values from predefined types JSON Parser JSON Parser JSON File JSON File Program objects Syntactic errors JSON Introduction

9 Jennifer Widom Semantically valid JSON Adheres to basic structural requirements + conforms to specified schema JSON Validator JSON Validator Program objects Syntactic errors JSON File JSON File JSON Schema JSON Schema Semantic errors JSON Parser JSON Parser JSON Introduction

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


Download ppt "Jennifer Widom JSON Data Introduction. Jennifer Widom JSON Introduction JavaScript Object Notation (JSON)  Standard for “serializing” data objects, usually."

Similar presentations


Ads by Google