doctrine / couchdb-client

CouchDB Client library
MIT License
122 stars 68 forks source link

Some fixes to get valid JSON in response #74

Closed zorn-v closed 6 years ago

damiankloip commented 7 years ago

@zorn-v what's the reason for trimming inside the while() loop and after it?

zorn-v commented 7 years ago

Don't know purpose for last trim, just replace ugly analog :smile: In loop its need to fix JSON response like this

{"key": "long value 
that wrap beetween chunks"}

That JSON become invalid