-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JsonParseException: Unexpected character #54
Comments
See #55 |
jkieberk
pushed a commit
to jkieberk/yetibot
that referenced
this issue
Mar 25, 2017
-Idea from: mmazi/rescu#54 (comment) Not sure if this is something that clj-http should be stripping out on their end? This might just be a hack, and there is a better way to go about this? Also, adding [cheshire] as a dependency might fix it as well, although when I tried that, it still gave the same error (cheshire is a dependency of clj-http when using the :as :json feature of clj-http/get see [here](https://github.com/dakrone/clj-http#optional-dependencies) )
jkieberk
pushed a commit
to jkieberk/yetibot
that referenced
this issue
Mar 25, 2017
-Idea from: mmazi/rescu#54 Not sure if this is something that clj-http should be stripping out on their end? This might just be a hack, and there is a better way to go about this? Also, adding [cheshire] as a dependency might fix it as well, although when I tried that, it still gave the same error (cheshire is a dependency of clj-http when using the :as :json feature of clj-http/get see [here](https://github.com/dakrone/clj-http#optional-dependencies) )
jkieberk
pushed a commit
to jkieberk/yetibot
that referenced
this issue
Mar 25, 2017
-Idea from: mmazi/rescu#54 Not sure if this is something that clj-http should be stripping out on their end? This might just be a hack, and there is a better way to go about this? Also, adding [cheshire] as a dependency might fix it as well, although when I tried that, it still gave the same error (cheshire is a dependency of clj-http when using the :as :json feature of clj-http/get see [here](https://github.com/dakrone/clj-http#optional-dependencies) )
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to implement Netagio's new API into XChange but I'm unable to parse their JSON response, due to an odd character in the response which seems to crash Jackson.
Here is the character: http://www.fileformat.info/info/unicode/char/feff/index.htm
The stack trace:
And the raw JSON: http://pastebin.com/raw.php?i=UBxKKSaF
Seems like the exchange is doing something weird when they generate their JSON. There are some other people who have had the same issue. See here: https://stackoverflow.com/questions/10188899/json-object-parsing-error
Any ideas?
The text was updated successfully, but these errors were encountered: