Consider different formatting for array indexes and object keys

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools

      When previewing a document within the Compass UI, array indexes and object keys are rendered the same and the only visual feedback differentiating the two container types is in the top-most line ("Object" vs. "Array (#)").

      I realize BSON arrays and objects have identical structures apart from their BSON type (in that array indexes are numeric strings), but using slightly different formatting for array indexes might help users in situations where the types are easily confused (e.g. objects with numeric field names).

            Assignee:
            Unassigned
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: