Skip to content

Consider switching from JSONPatch to JSON0 (or 1) #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vladnicula opened this issue Oct 25, 2020 · 0 comments
Open

Consider switching from JSONPatch to JSON0 (or 1) #9

vladnicula opened this issue Oct 25, 2020 · 0 comments

Comments

@vladnicula
Copy link
Owner

We are currently producing changes from the proxy in the form of JSON patches.

There seem to be some better alternatives out there:
https://github.com/ottypes/json0
https://github.com/ottypes/json1

I found out about json0 when playing with sharedb recently. The format is more simplified and encodes the same information with less characters.

One thing missing in json0 (and jsonpatch) is the move operation. It seems that JSON0 with a small extension could support move operations as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant