Tag Archives: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line

Expected BEGIN_OBJECT but was BEGIN_ARRAY at line

With multi-dimensional model as the core, let the factory digital transformation and upgrading “within reach”>>>

Analysis of JSON data

When parsing gson, we must pay attention to whether the data to be parsed is {}, or []. In addition, the entity class corresponding to gson can only have fewer attributes than the gson data to be parsed, not more