Tencent / rapidjson

A fast JSON parser/generator for C++ with both SAX/DOM style API
http://rapidjson.org/
Other
14.2k stars 3.53k forks source link

JSON Patch (RFC 6902) Support #821

Open jfether opened 7 years ago

jfether commented 7 years ago

I would like to propose addition of JSON-Patch to rapidjson. This allows generation of a JSON value (Array of objects) that patches another JSON value.

JSON Patch

Good practice would be to be able to generate a patch from two JSON values, and to add an apply method to any JSON value.

miloyip commented 7 years ago

I haven't heard of it. Sounds like an useful feature. Do you know about the popularity of it? And is there any competing standards?

nnosov commented 7 years ago

https://tools.ietf.org/html/rfc6902 RFC which introduces specification for JSON Patch feature

GitBeluga commented 6 years ago

Does json patch already supported? If not, is there any plan to support?

lizhihui1324 commented 6 years ago

it is a useful feature. any news?

drandand commented 4 years ago

I'm interested to know if this feature is going to be included. nlohmann json has implemented patch and diff , and I can use it instead. I really prefer the idea of using rapidjson, though becuase of the performance advantage it offers.

pengyz commented 2 years ago

Is there any JSON Patch support in rapdijson now?

Kawa-oneechan commented 7 months ago

Last time I tried to implement patch support on top of another JSON library I was using, I failed because of a lack of pointer support. Since rapidjson already comes with exactly that included, I might have to try again with this library instead. I do need it for a project of mine after all...

But I make no promises.

pengyz commented 7 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。