lysdexic@programming.dev to Programming@programming.devEnglish · 4 months agoJSON Patchjsonpatch.comexternal-linkmessage-square2fedilinkarrow-up136arrow-down12
arrow-up134arrow-down1external-linkJSON Patchjsonpatch.comlysdexic@programming.dev to Programming@programming.devEnglish · 4 months agomessage-square2fedilink
minus-squarehomo_ignotus@programming.devlinkfedilinkarrow-up9·4 months agoWhy use JSON Pointer? We already have structured data (JSON), so what’s wrong with ["biscuits", 0, "name"] instead of "biscuits/0/name"? This sidesteps the escaping problem. And the reason is clearly not brevity, given the rest of the spec.
Why use JSON Pointer? We already have structured data (JSON), so what’s wrong with
["biscuits", 0, "name"]
instead of"biscuits/0/name"
? This sidesteps the escaping problem.And the reason is clearly not brevity, given the rest of the spec.