Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
throwawaymaths
on May 10, 2022
|
parent
|
context
|
favorite
| on:
What Is JSON Patch?
Shorter encoding. Count the bytes:
["foo","bar",1,"baz","quux"]
Vs
"/foo/bar/1/baz/quux"
It's also less parsing, and for many systems a less wieldy/less errorprone entity to pass around your runtime. You unpack it at the time you need to dereference the JSON pointer.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: