Changes between Initial Version and Version 1 of Ticket #2041, comment 1
- Timestamp:
- 2013-08-02T03:21:30Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2041, comment 1
initial v1 6 6 The outermost level of a JSON object must be a list or a dictionary. In this case we chose to use a list in which the first element gives the type. 7 7 8 While you're right that this could have been done a little more simply (by using a dictionary {{{{"type": "dirnode", ...}}}} rather than a list {{{["dirnode , {...}]}}} for example), I don't think it is worth the hassle of an incompatible change, which would be very disruptive.8 While you're right that this could have been done a little more simply (by using a dictionary {{{{"type": "dirnode", ...}}}} rather than a list {{{["dirnode", {...}]}}} for example), I don't think it is worth the hassle of an incompatible change, which would be very disruptive. 9 9 10 10 > Also I don't think creating another dictionary for metadata adds any clarity or convenience.