📜  预期 begin_object 但是字符串 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:44.985000             🧑  作者: Mango

代码示例1
Even without seeing your JSON string you can tell from the error message that it is not the correct structure to be parsed into an instance of your class.

Gson is expecting your JSON string to begin with an object opening brace. e.g.

{
But the string you have passed to it starts with an open quotes

"