3 ms·
What I had in mind sounds pretty close to yours, really. I was thinking of adding a default somewhere along the line (possibly the end), so you could do: json.
by StavrosK 11y ago
What I had in mind sounds pretty close to yours, really. I was thinking of adding a default somewhere along the line (possibly the end), so you could do:
json.structure.that.i.want.to.access.default(True)
Or something like that. I don't really like the default item API I've come up... I'll comment here if I do give it a go, thanks for the snippet!