Skip to content

Non-interactive json tree view? #22

Closed
@molenick

Description

@molenick

This is a cool crate! Came across it while thinking through "is there a simple way to represent a debug view (field names and values) in egui?"

This seems like a good starting point in conjuction with serde and serde_json. For my use case I would like to display a json representation of a struct's name and full, expanded fields/values, but without interactive controls like the search bar and other control widgets. Is it possible to configure this sort of behavior in your crate? I've poked around the code a bit and got some sense of the configurability (I see you can style it and looks like there's stuff to configure expansion) but didn't go deep enough to get a clear picture of "can interactivity be disabled."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions