Re: [Development] json api for modifying document

2012-05-10 Thread Girish Ramakrishnan
Hi, On Thu, May 10, 2012 at 12:21 AM, wrote: > On 5/10/12 5:59 AM, "ext Girish Ramakrishnan" > wrote: > >>Hi Lars, >>The current API appears to make modifications to values instead of the >>document itself. This makes it quite cumbersome to modify a document. >>For example, to change the value

Re: [Development] json api for modifying document

2012-05-10 Thread lars.knoll
On 5/10/12 5:59 AM, "ext Girish Ramakrishnan" wrote: >Hi Lars, >The current API appears to make modifications to values instead of the >document itself. This makes it quite cumbersome to modify a document. >For example, to change the value of 5 to 10 in the json "[1, 2, [3, 4, >[5, 6]]]", one has

[Development] json api for modifying document

2012-05-09 Thread Girish Ramakrishnan
Hi Lars, The current API appears to make modifications to values instead of the document itself. This makes it quite cumbersome to modify a document. For example, to change the value of 5 to 10 in the json "[1, 2, [3, 4, [5, 6]]]", one has to write the following code. QJsonDocument doc = QJson