lysdexic@programming.dev to Programming@programming.devEnglish · 5 months agoJSON Patchjsonpatch.comexternal-linkmessage-square2fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkJSON Patchjsonpatch.comlysdexic@programming.dev to Programming@programming.devEnglish · 5 months agomessage-square2fedilink
minus-squarehomo_ignotus@programming.devlinkfedilinkarrow-up0·5 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.