vscode-debug-visualizer icon indicating copy to clipboard operation
vscode-debug-visualizer copied to clipboard

How do you visualize an array as like a literal table, rather than a graph?

Open DChau38 opened this issue 1 year ago • 3 comments

DChau38 avatar Apr 03 '24 22:04 DChau38

you can provide json into the visualizer in table format - TableVisualizationData in the schema file.

a json that would work might be

{
    "table": true
    "rows": [
        {
            "prop1": 123, 
            "prop2": "abc"
        }, 
        {
            "prop1": 123, 
            "prop2": "abc"
        }
    ]
}

williamli0707 avatar Apr 03 '24 23:04 williamli0707