fastjson怎么设置编码为UTF-16

mitkmikd  于 2021-11-27  发布在  Java
关注(0)|答案(1)|浏览(549)

fastjson怎么设置编码为UTF-16

noj0wjuj

noj0wjuj1#

JSON的这两个方法不知道能不能帮到你

  1. public static <T> T parseObject(InputStream is, //
  2. Charset charset, //
  3. Type type, //
  4. Feature... features) throws IOException {
  5. ...
  6. }
  1. public static final int writeJSONString(OutputStream os, //
  2. Charset charset, //
  3. Object object, //
  4. SerializerFeature... features) throws IOException {
  5. ...
  6. }

相关问题