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