java.io.EOFException: End of input at line 1 column 1 path $ in Gson parser
问题 I'm parsing a JSON string by using Gson and Retrofit. I have this JSON string: {"message":["Email has already been taken"]} I get the below exception still and don't know why: java.io.EOFException: End of input at line 1 column 1 path $ at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.internal.bind