JSON and Graph model - University of Helsinki
[Pages:59]JSON and Graph model
Lecturer: Jiaheng Lu Autumn 2016
helsinki.fi
21.11.2016
1
Review and outline
? History of databases (Why we use databases)
? Data models
? Three features of data models ? Relational model ? Semi-structure model
XML model JSON model
? Graph model
helsinki.fi
Trends in XML and JSON usage
80% 70% 60% 50% 40% 30% 20% 10% 0%
2006 2007 2008 2009
XML JSON
2010 2011 2012 2013
Based on directory of 11,000 web APIs listed at Programmable Web, December 2013
Wow! I better have expertise in both XML and JSON
helsinki.fi
Example of XML-formatted data
The below XML document contains data about a book: its title, authors, date of publication, and publisher.
Parsing Techniques Dick Grune Ceriel J.H. Jacobs 2007 Springer
helsinki.fi
Same data, JSON-formatted
{ "Book": { "Title": "Parsing Techniques", "Authors": [ "Dick Grune", "Ceriel J.H. Jacobs" ], "Date": "2007", "Publisher": "Springer" }
}
helsinki.fi
XML and JSON, side-by-side
Parsing
Techniques Dick
Grune Ceriel J.H.
Jacobs 2007
Springer
{ "Book": { "Title": "Parsing
Techniques", "Authors": [ "Dick Grune",
"Ceriel J.H. Jacobs" ], "Date": "2007", "Publisher": "Springer"
} }
helsinki.fi
An XML document is a tree
Book
Title
Authors
Parsing Technique
s
Author
Author
Dick Grune
Ceriel J.H. Jacobs
Date 2007
Publisher Springer
helsinki.fi
A JSON Object is a tree
Book
Title
Authors
Parsing Techniques
["Dick Grune", "Ceriel J.H. Jacobs"]
Date 2007
Publisher Springer
helsinki.fi
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- openapi development with python
- beginner s essential javascript cheat sheet
- unit 1 general purpose utilities
- momentjs tutorialspoint
- new date from string typescript
- angular format leading zero
- angular technical university of valencia
- es6 tutorialspoint
- type test scripts for typescript testing
- com m i t cr eated on monday n ov em ber 1 typescript
Related searches
- university of scranton tuition and fees
- university of illinois track and field
- solve and graph inequalities calculator
- solve and graph inequalities
- solve and graph inequalities pdf
- solve and graph the inequalities answer key
- solve and graph the inequalities
- inequality and graph its solution calculator
- inequality and graph its solution
- solve and graph interval notation
- data and graph lesson plans
- university of michigan sat scores and gpa