com.alibaba.fastjson.JSONException: syntax error, pos 6, json : userId=3&flag=1

GitHub | VictorZeng | 3 months ago
  1. 0

    GitHub comment 792#244783164

    GitHub | 3 months ago | VictorZeng
    com.alibaba.fastjson.JSONException: syntax error, pos 6, json : userId=3&flag=1
  2. 0

    处理字符中含有 \ 会出异常

    GitHub | 3 years ago | satifanie
    com.alibaba.fastjson.JSONException: unclosed string : 服
  3. 0

    final字段反系列化出错

    GitHub | 5 months ago | taoweiji
    com.alibaba.fastjson.JSONException: set property error, TAG
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BeanToArray在groovy環境有問題

    GitHub | 3 years ago | eason-li
    com.alibaba.fastjson.JSONException: syntax error, expect {, actual string, pos 1
  6. 0

    deserialize public-long field error?

    GitHub | 4 years ago | sunxwell
    com.alibaba.fastjson.JSONException: create asm deserializer error, demo.FJDemo

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.alibaba.fastjson.JSONException

      syntax error, pos 6, json : userId=3&flag=1

      at com.alibaba.fastjson.parser.DefaultJSONParser.parse()
    2. fastjson
      JSON.parseObject
      1. com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1361)
      2. com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1268)
      3. com.alibaba.fastjson.serializer.StringCodec.deserialze(StringCodec.java:105)
      4. com.alibaba.fastjson.serializer.StringCodec.deserialze(StringCodec.java:87)
      5. com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:614)
      6. com.alibaba.fastjson.JSON.parseObject(JSON.java:339)
      7. com.alibaba.fastjson.JSON.parseObject(JSON.java:307)
      8. com.alibaba.fastjson.JSON.parseObject(JSON.java:270)
      9. com.alibaba.fastjson.JSON.parseObject(JSON.java:370)
      10. com.alibaba.fastjson.JSON.parseObject(JSON.java:452)
      10 frames