在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ZipCodeCore/JerkSON.Maven开源软件地址(OpenSource Url):https://github.com/ZipCodeCore/JerkSON.Maven开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):WELCOME TO TARIQ'S PainfullAfternoon (Hurtlocker.JerkSON)
You will need all of these today!In this project you will find a file in the JSON Format
{
"name" : "Milk",
"price" : 3.25,
"type" : "food",
"expiration" : "01/24/2016"
} JerkSON Format
Some tidbitsAll string manipulation should be achieved through regex to detect and match patterns. Its not guaranteed that every Key will have a Value, and every Value will have a pair. For instance: you may see something like this
Notice how TYPE has a key but no Value.... if you try and parse this into an object your program could crash. You will need to handle your exceptions! I also expect you to report on how many exceptions you saw while parsing the data. Write a few tests, for each "sub stage" of your code. And then finally, for each grocery item, built a quick text output of High/Low and and Average value for the things on the list. GOOD LUCK ZIPCODERS!!!! May the Odds be ever in your favor!!!! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论