Jennifer Widom 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 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
Jennifer Widom Relational Model versus JSON RelationalJSON Structure Schema Queries Ordering Implementation JSON Introduction
Jennifer Widom XML versus JSON XMLJSON Verbosity Complexity Validity Prog. Interface Querying JSON Introduction
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
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
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
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