|
|
|
|
1
|
-##WELCOME TO THE PainfullAfternoon (Hurtlocker)
|
|
|
|
|
1
|
+## WELCOME TO THE PainfullAfternoon (Hurtlocker)
|
2
|
|
2
|
|
3
|
By this time you should have been introduced to Java Strings, Exceptions, Unit Testing, and Regex.
|
3
|
By this time you should have been introduced to Java Strings, Exceptions, Unit Testing, and Regex.
|
4
|
|
4
|
|
|
|
|
|
16
|
|
16
|
|
17
|
In Json Key and Value pairs are seperated by a ',' in JerkSON its '##'
|
17
|
In Json Key and Value pairs are seperated by a ',' in JerkSON its '##'
|
18
|
|
18
|
|
19
|
-##Your Task
|
|
|
|
|
19
|
+## Your Task
|
20
|
Its your job to build a JerkSON data parser, that is able to read in the raw data , and output a string formated list that resembles (outputFormat.txt)
|
20
|
Its your job to build a JerkSON data parser, that is able to read in the raw data , and output a string formated list that resembles (outputFormat.txt)
|
21
|
|
21
|
|
22
|
There are some things to look out for.... If you haven't figured it out by now Tariq has many wonderful qualities, spelling isn't one of them, so Words may not be spelled correctly. You need to decipher what Tariq was trying to spell using pattern matching.
|
22
|
There are some things to look out for.... If you haven't figured it out by now Tariq has many wonderful qualities, spelling isn't one of them, so Words may not be spelled correctly. You need to decipher what Tariq was trying to spell using pattern matching.
|
|
|
|
|
34
|
|
34
|
|
35
|
you may see something like this
|
35
|
you may see something like this
|
36
|
|
36
|
|
37
|
-Name:Milk;Price:3.23;type:;expiration:1/24/2016##
|
|
|
|
|
37
|
+`Name:Milk;Price:3.23;type:;expiration:1/24/2016##`
|
38
|
|
38
|
|
39
|
Notice how TYPE has a key but no Value.... if you try and parse this into an object your program could crash.
|
39
|
Notice how TYPE has a key but no Value.... if you try and parse this into an object your program could crash.
|
40
|
|
40
|
|