Posts Tagged ‘structured data’

JSON and Structured Data

Introduction to JSON and Structured Data

Dates: November 2nd through 29th, 2020
Instructor: Robert Chavez
Credits: 1.5 CEUs or 15 PDHs
Price: $175

https://libraryjuiceacademy.com/shop/course/161-introduction-json-structured-data/

JSON is a semi-structured data format for encoding data and is a popular language for data sharing and interchange – as such it is considered a good alternative to XML. This materials in this course will cover all the core JSON syntax and data structures as well as:
– structured data as a concept
– core data structuring approaches
– the differences between XML and JSON
– when to use XML, when to use JSON

JSON itself is the language of JSON Schema and JSON-LD. We will also study core JSON Schema, a language that allows annotation and validation of JSON documents, and have an introduction to JSON-LD. JSON-LD is covered in greater depth in a follow-up course, JSON-LD Fundamentals. Both courses are follow-ups to our Certificate in XML and RDF-Based Systems.
https://libraryjuiceacademy.com/shop/course/171-json-ld-fundamentals/
https://libraryjuiceacademy.com/certificate/xml-and-rdf-based-systems/

Robert Chavez holds a PhD in Classical Studies from Indiana University. From 1994-1999 he worked in the Library Electronic Text Resource Service at Indiana University Bloomington as an electronic text specialist. From 1999-2007 Robert worked at Tufts University at the Perseus Project and the Digital Collections and Archives as a programmer, digital humanist, and institutional repository program manager. He currently works for the New England Journal of Medicine as Content Applications Architect.

Course Structure
This is an online class that is taught asynchronously, meaning that participants do the work on their own time as their schedules allow. The class does not meet together at any particular times, although the instructor may set up optional synchronous chat sessions. Instruction includes readings and assignments in one-week segments. Class participation is in an online forum environment.

++++++++++++++++
more on JSON in this IMS blog
https://blog.stcloudstate.edu/ims?s=json

JSON and Structured Data

JSON and Structured Data

https://www.w3schools.com/js/js_json_intro.asp

JSON replace XML. lightweight data-interchange format. Often used with AJAX (send data forth back client, server, without refresh)

Data types:
number: no dfference between integer and floats
string: string of unicode characters “”
Boolean: true and false
array: ordered list of 0 and more values
Object: unordered collection of key/value pairs
Null: empty value

JSON Syntax Rules:
uses key/value pairs – {“name”;”brad”} .     uses double quotes around Key and value .     must use the specific data type .   file type is “.json” .   MIME type is “application/json”

http://www.json.org/

https://code.google.com/archive/p/json-simple/

https://www.linkedin.com/learning/learn-api-documentation-with-json-and-xml/json-basics

strings: text enclosed in single or double quotation marks
numbers: integer or decimal, positive or negative
booleans: true or false, no quot marks
null: means “nothing,” no quot marks

arrays are lists in square brackets, comma separated, can mix data types

objects are JSON dictionaries in curly brackets, keys and values are separated by a colon, pairs are separated by commas. keys and values can be any data type, but string is the most common value for a key

nesting : arrays and objects inside each other
can put arrays inside objects, objects inside