{
String resource = "src/test/resources/com/dyuproject/json/test/employee.json";
StandardJSON json = new StandardJSON();
File file = new File(resource);
BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file)));
Map<String,Object> map = (Map<String,Object>)json.parse(new ReaderSource(reader));
Employee e = (Employee)map.get("employee");
assertTrue(e!=null);
assertTrue("John".equals(e.getFirstName()));
List<Task> tasks = e.getTasks();
assertTrue(tasks!=null && tasks.size()==3);