979899100101102103
return new JsonPrimitive(src.points); } public Points deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { return new Points(json.getAsJsonPrimitive().getAsString()); }