Hi there,
“com.aspose” % “aspose-words-cloud” % “21.4.0”,
“com.aspose” % “aspose-pdf-cloud” % “21.1.0”
we are using these aspose libraries as scala dependencies in our project and getting following issue
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 252 path $
at com.google.gson.Gson.assertFullConsumption(Gson.java:864)
at com.google.gson.Gson.fromJson(Gson.java:854)
at com.google.gson.Gson.fromJson(Gson.java:802)
at com.aspose.words.cloud.JSON.deserialize(JSON.java:150)
at com.aspose.words.cloud.ApiClient.deserialize(ApiClient.java:673)
at com.aspose.words.cloud.model.requests.UploadFileRequest.deserializeResponse(UploadFileRequest.java:193)
at com.aspose.words.cloud.api.WordsApi.uploadFileWithHttpInfo(WordsApi.java:21942)
at com.aspose.words.cloud.api.WordsApi.uploadFile(WordsApi.java:21919)
at client.AsposeClient.uploadFile(AsposeClient.java:148)
at client.AsposeClient.lambda$uploadFilesToAspose$2(AsposeClient.java:123)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 252 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1568)
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1409)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
at com.google.gson.Gson.assertFullConsumption(Gson.java:860)
at com.google.gson.Gson.fromJson(Gson.java:854)
at com.google.gson.Gson.fromJson(Gson.java:802)
at com.aspose.words.cloud.JSON.deserialize(JSON.java:150)
at com.aspose.words.cloud.ApiClient.deserialize(ApiClient.java:673)
at com.aspose.words.cloud.model.requests.UploadFileRequest.deserializeResponse(UploadFileRequest.java:193)
Is there any known issue related to his? Any help would be much appreciated.