Skip to content

Add collapsible objects and arrays to JSON view #1100

Open

Description

Make it easier to scan large or deeply nested documents in JSON view without switching to Tree view.

  • Add inline controls to collapse and expand individual objects and arrays, including nested ones.
  • Add Collapse All and Expand All toolbar buttons that apply to every document on the current results page. Keep each document visible and collapse only its contents.
  • Keep folding visual only: it must not change the underlying JSON or truncate what Copy Document copies.

Design idea, not required for this issue: Explore CodeLens-style actions such as Collapse nested sections and Expand nested sections above each document. This would give users a way to fold a single document without affecting the rest of the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions