couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: [Couchdb Wiki] Update of "Breaking changes" by SvenHelmberger
Date Sun, 22 Mar 2009 00:20:50 GMT
On Sat, Mar 21, 2009 at 1:09 PM, Jan Lehnardt <jan@apache.org> wrote:
>
> On 21 Mar 2009, at 11:38, Apache Wiki wrote:
>>
>>
>> == Changes Between 0.8.x and 0.9.0pre ==
>> +
>> + === Response to Bulk Creation/Updates ===
>> +
>> + The response to a bulk creation / update now looks like this
>> +
>> + {{{
>> + [
>> +     {"id": "0", "rev": "3682408536"},
>> +     {"id": "1", "rev": "3206753266"},
>> +     {"id": "2", "error": "conflict", "reason": "Document update
>> conflict."}
>> + ]
>> + }}}
>>
>> === Database File Format ===
>
> I'm not sure this change is intentional. Damien, Chris?
>
> I'd opt for a full JSON object. Not all client libs like parsing JSON
> partials.
>

The JSON spec allows objects or arrays as the outer member. http://www.json.org/

As long as it's documented I don't see a problem here.

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message