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
- typescript declare global class
- javascript in 2017
- json schema boolean enum
- kotlin language documentation
- json schema enum from document
- typescript definition from json schema
- difference between javascript and typescript key
- declare boolean variable in typescript
- json and graph model university of helsinki
- enum json schema example
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