bluzi / jsonstore

:rocket: jsonstore offers a free and secured JSON-based cloud datastore for small projects | Inactive

Home Page:https://www.jsonstore.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support JSON Patch

n1k0 opened this issue · comments

http://jsonpatch.com/

The idea is to avoid retrieving the entire JSON content of a database to alter a single value and resubmit the entire modified content. So better perfs & concurrency.

I like the overall idea, but unless I'm missing something here, I'm not sure it's providing something that we're not already providing.

I mean, the equivalent of { "op": "replace", "path": "/baz", "value": "boo" } in jsonstore would be sending a PUT request to https://www.jsonstore.io/[token]/baz and providing "boo" as a value, so you don't really have to retrieve the entire JSON.

LMK if I'm missing anything.

I missed sub-paths were possible. I suppose this is now more a data-organization issue, which is not relevant to this project technically. Thanks!