Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final byte[] invalidUtf8 = {(byte) 0x80};
- ObjectMapper mapper = new ObjectMapper();
- mapper.writeValue(smileFactory.createJsonGenerator(new ByteArrayOutputStream(), JsonEncoding.UTF8), invalidUtf8);
Add Comment
Please, Sign In to add comment