Taehyun Oh

Results 2 comments of Taehyun Oh

To print emoji while use ByteOutputStream. It can be print using writeRawValue(cbuf, offset, len) function. String emoji = new String(Character.toChars(0x1F602)); char[] charArray = String.format("\"%s\"", emoji).toCharArray(); JsonFactory factory = new JsonFactory();...

> That's all very well for values you completely control, but you would need to manually take care of escaping everything else apart from the supplementary characters according to JSON...