Created
May 25, 2016 21:59
-
-
Save exSnake/7667278be2bea9e6a18d7070aae60a1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws JsonParseException, JsonMappingException, IOException { | |
File jsonFile = new File("user.json"); | |
Slot slots = null; | |
ObjectMapper mapper = new ObjectMapper(); | |
slots = mapper.readValue(jsonFile, Slot.class); | |
for (Row row : slots.getRows()) { | |
System.out.println(row.getIdApparecchio()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment