Changes between Initial Version and Version 1 of Ticket #2041, comment 1


Ignore:
Timestamp:
2013-08-02T03:21:30Z (11 years ago)
Author:
daira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2041, comment 1

    initial v1  
    66The 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.
    77
    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.
     8While 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.
    99
    1010> Also I don't think creating another dictionary for metadata adds any clarity or convenience.