lysdexic@programming.dev to Programming@programming.devEnglish · 3 months agoJSON Patchjsonpatch.comexternal-linkmessage-square2fedilinkarrow-up137arrow-down12
arrow-up135arrow-down1external-linkJSON Patchjsonpatch.comlysdexic@programming.dev to Programming@programming.devEnglish · 3 months agomessage-square2fedilink
minus-squarehomo_ignotus@programming.devlinkfedilinkarrow-up9·3 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.