|
@@ -1,4 +1,4 @@
|
1
|
|
-##WELCOME TO THE PainfullAfternoon (Hurtlocker)
|
|
1
|
+## WELCOME TO THE PainfullAfternoon (Hurtlocker)
|
2
|
2
|
|
3
|
3
|
By this time you should have been introduced to Java Strings, Exceptions, Unit Testing, and Regex.
|
4
|
4
|
|
|
@@ -16,7 +16,7 @@ In JerkSON Key and Value could be seperated by using a any of the following (:,
|
16
|
16
|
|
17
|
17
|
In Json Key and Value pairs are seperated by a ',' in JerkSON its '##'
|
18
|
18
|
|
19
|
|
-##Your Task
|
|
19
|
+## Your Task
|
20
|
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
|
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,7 +34,7 @@ Its not guranteed that every Key will have a Value, and every Value will have a
|
34
|
34
|
|
35
|
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
|
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
|
|