Could not read JSON: Can not deserialize instance of out of START_ARRAY token

该错误是因为目标类属性keyX需要JSONTest$Hobby类型的,待转换的json串里属性名keyX对应的,不是一个POJO对象,而是ArrayList集合。

参考:http://blog.csdn.net/li396864285/article/details/54287859

猜你喜欢

转载自blog.csdn.net/nesodic/article/details/78512895