lysdexic to ProgrammingEnglish · 6 months agoJSON Patchjsonpatch.comexternal-linkmessage-square2fedilinkarrow-up137arrow-down12
arrow-up135arrow-down1external-linkJSON Patchjsonpatch.comlysdexic to ProgrammingEnglish · 6 months agomessage-square2fedilink
minus-squarehomo_ignotuslinkfedilinkarrow-up9·6 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.