Skip to content

Latest commit

 

History

History
28 lines (13 loc) · 606 Bytes

README.md

File metadata and controls

28 lines (13 loc) · 606 Bytes

SainsburysTest

SainsburysTest

Following are the external jar required:

json-simple-1.1.jar

jsoup_2.9.2-0.9.1.jar

jsoup-1.10.1

Junit

Aim is to consume and print the JASON Objects from the test link :

http://hiring-tests.s3-website-eu-west-1.amazonaws.com/2015_Developer_Scrape/5_products.html

Junit testcases are defined in src/com/sby/test/ParseDocTest.java

Please execute main method defined in the src/com/sby/parse/ParseDoc.java

After execution of main method the required JASON is printed on the console. Order of attributes printed cannot be guaranted due to the Jason specification.