log-2023-07-25

机智蛋 / 2023-08-10 / 原文

JsonObject的toString方法和getAsString

  • toString会导致整个get得到的整个value被加上一层“”
  • getAsString就是直接得到一个String对象【推荐这种】