Advertisement
grook

Untitled

Jun 15th, 2021
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.12 KB | None | 0 0
  1. ObjectMapper mapper = new ObjectMapper();
  2. Task task = (Task)mapper.readValue(new FileInputStream("task.json"), task.class);
  3.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement