couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Woodward <>
Subject Re: Best Way to Handle Inserting HTML Data
Date Wed, 17 Nov 2010 02:03:16 GMT
On Tue, Nov 16, 2010 at 5:35 PM, Jonathan Stott <>wrote:

> I suggest not doing JSON (de)serialization on your own.
> Make your script do all the denormalization, and convert the result to
> a hash/dictionary.  Almost all languages have a JSON encoder that will
> do the correct escaping for you. POST it to couch DB.  On the way out,
> JSON decode the result, which will unescape things appropriately, and
> give you back a dictionary/hash.

Thanks! I'll give that approach a shot and see where I get.

Matthew Woodward / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message