CPE 369: Distributed Computing
Lab 1 materials

Java JSON Libraries

List of Java JSON libraries [HTML]
org.json JSON library org.json-20120521.jar(local copy)
org.json Javadocs [HTML]

Lab 1, Part 1

ThghtShre

List of words: Jane Austen's Sense and Sensibility sense.txt
Sample data: thgtshre-sample.json

Lab 1, Part 2

MovieSurvey

List of Female First Names female-names.txt
List of Male First Names male-names.txt
List of Lastnames lastnames.txt

States to Regions

NorthEast ME, NH, VT, MA, RI, NY, NJ, PA, DE, MD, WV, DC
South VA, KY, TN, NC, SC, GA, FL, AL, MS, AR, LA, TX, OK
MidWest OH, MI, IN, IL, MO, WI, MN, IA, ND, SD, NE, KS
West NM, CO, WY, MT, ID, UT, NV, AZ
Pacific CA, OR, WA, AK, HI

Code Samples

org.json JSONArray demo jsonArrayTest.java p.json (data file for jsonArrayTest.java)
bash script for of JSONArrayTest.java jsonArray-run.sh
Reading from a JSON array file one object at a time json7.java


January 7, 2013 dekhtyar at calpoly.edu