react-json-view
react-json-view copied to clipboard
how to expand at a particular object/array index
Is there a way to support expanding at a particular index?
Given the following values:
// Array
[
{"key0": {...} },
{"key1": {...} },
]
// Object
{
"key0": {
"key0": {...},
"key1": {...}
} ,
"key1": "value1" ,
}
// Mixed
{
"key0": [
{...},
],
"key1": "value1" ,
}
Say I want the first entry from the first level to be expanded, would it be possible to achieve this by passing something like expanded={1.1}
?