Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Example {
- private String field;
- }
- String json = "{"field": "test"}";
- ObjectMapper mapper = new ObjectMapper();
- Example example = mapper.readValue(json, Example.class);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement