-
Notifications
You must be signed in to change notification settings - Fork 26
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
Syntax errors when parsing #4
Comments
Hi Alex, This seems to be an issue with the newlines in the couchdb json. You can try the following command which replaces the newlines with space:
Please let me know if this doesn't solve your problem or if you have other questions. Thanks, |
Yes, this works. The JSON that CouchDB returns is valid, though and suggests that the parser should take care of this, and not the human. |
Liking the app though, and for the time being, I'll just alias json to your quickfix |
Great! I agree that the parser should handle that. This is one of the corners that I decided to cut the first time around. I will think more about how to handle it. |
+1 |
Hi there.
I've come across errors when processing json from a couchdb. I'll use the standard
_users
database for example.Now when sending through
json
, this is the output:Here's the debugging output:
The text was updated successfully, but these errors were encountered: