jennifer widom json data introduction. jennifer widom json introduction javascript object notation...
DESCRIPTION
Jennifer Widom JavaScript Object Notation (JSON) No longer tied to JavaScript Parsers for many languages JSON IntroductionTRANSCRIPT
Jennifer Widom
JSON DataIntroduction
Jennifer Widom
JSON IntroductionJavaScript 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
JSON Introduction
Jennifer Widom
Relational Model versus JSON
Relational JSON
Structure
Schema
Queries
Ordering
Implementation
JSON Introduction
Jennifer Widom
XML versus JSON
XML JSON
Verbosity
Complexity
Validity
Prog. Interface
Querying
JSON Introduction
Jennifer Widom
Syntactically valid JSONAdheres to basic structural requirements• Sets of label-value pairs• Arrays of values• Base values from predefined types
JSON Introduction
Jennifer Widom
Syntactically valid JSONAdheres to basic structural requirements• Sets of label-value pairs• Arrays of values• Base values from predefined types
JSONParser
JSONFile Program
objects
Syntactic errors
JSON Introduction
Jennifer Widom
Semantically valid JSONAdheres to basic structural requirements+ conforms to specified schema
JSONValidator
Programobjects
Syntactic errors
JSONFile
JSONSchema
Semantic errors
JSONParser
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