com.alibaba.fastjson.JSONException

Text '2017-01-04 13:21:39' could not be parsed at index 10


Solutions on the web36

Solution icon of github
via GitHub by anjia0532
, 7 months ago
Text '2017-01-04 13:21:39' could not be parsed at index 10

Solution icon of web
syntax error, expect {, actual string, pos 19, fieldName data 01-21 10:38:37.414: W/System.err(7864): at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:232) 01-21 10:38:37.414: W/System.err(7864

Solution icon of web
syntax error, expect {, actual string, pos 19, fieldName data 01-21 10:38:37.414: W/System.err(7864): at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:232) 01-21 10:38:37.414: W/System.err

Solution icon of web
via oschina.net by Unknown author, 1 year ago
syntax error, expect {, actual string, pos 19, fieldName data 01-21 10:38:37.414: W/System.err(7864): at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:232) 01-21 10:38:37.414: W/System.err(7864

Solution icon of web
syntax error, expect {, actual string, pos 19, fieldName data 01-21 10:38:37.414: W/System.err(7864): at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:232) 01-21 10:38:37.414: W/System.err(7864

Solution icon of web
syntax error, expect {, actual string, pos 19, fieldName data 01-21 10:38:37.414: W/System.err(7864): at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:232) 01-21 10:38:37.414: W/System.err

Solution icon of github
syntax error, expect {, actual string, pos 19, fieldName data 01-21 10:38:37.414: W/System.err(7864): at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:232) 01-21 10:38:37.414: W/System.err(7864

Solution icon of github
not close json text, token : error

Solution icon of web
syntax error, expect {, actual ], pos 39

Stack trace

  • com.alibaba.fastjson.JSONException: Text '2017-01-04 13:21:39' could not be parsed at index 10 at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:643) at com.alibaba.fastjson.JSON.parseObject(JSON.java:339) at com.alibaba.fastjson.JSON.parseObject(JSON.java:243) at com.alibaba.fastjson.JSON.parseObject(JSON.java:456) at demo.main(demo.java:179) Caused by: java.time.format.DateTimeParseException: Text '2017-01-04 13:21:39' could not be parsed at index 10 at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949) at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851) at java.time.ZonedDateTime.parse(ZonedDateTime.java:597) at java.time.ZonedDateTime.parse(ZonedDateTime.java:582) at com.alibaba.fastjson.parser.deserializer.Jdk8DateCodec.deserialze(Jdk8DateCodec.java:95) at com.alibaba.fastjson.parser.deserializer.DefaultFieldDeserializer.parseField(DefaultFieldDeserializer.java:66) at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.parseField(JavaBeanDeserializer.java:722) at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:568) at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:187) at com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:183) at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:639) ... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 1 month ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 month ago
11 more bugmates