public static void main(String[] args) {boolean validate = JSONValidator.from("1").validate();boolean validate2 = JSONValidator.from("w").validate();}第一个true,第二个false?
bzzcjhmw1#
version 1.2.73com.alibaba.fastjson.JSONValidator#validate` public boolean validate() {
for (;;) { if (!any()) { //查看一下这个any函数 就会返回false } }`
1条答案
按热度按时间bzzcjhmw1#
version 1.2.73
com.alibaba.fastjson.JSONValidator#validate
` public boolean validate() {