pub fn new(value: impl Value) -> Self {
        let mut res = JsonViewer {
            value: DisplayValue::new(value),
            active_element: Path::Scalar, //Will be fixed ...
        };
        res.fix_active_element_path(); //... here!
        res
    }
/// Create a new `JsonViewer` widget that will display the specified value.
///
/// It follows that it is impossible to not have content. However, it *is* possible to show an
/// empty String, so there is that.
Create a new `JsonViewer` widget that will display the specified value.
It follows that it is impossible to not have content. However, it *is* possible to show an
empty String, so there is that.
Create a new ` JsonViewer ` widget that will display the specified value . It follows that it is impossible to not have content . However it * is * possible to show an empty String so there is that .
pub fn new(value: impl Value) -> Self {
        let mut res = JsonViewer {
            value: DisplayValue::new(value),
            active_element: Path::Scalar, //Will be fixed ...
        };
        res.fix_active_element_path(); //... here!
        res
    }
pub fn new ( value : impl Value ) -> Self { let mut res = JsonViewer { value : DisplayValue :: new ( value ) , active_element : Path :: Scalar , //Will be fixed ... } ; res . fix_active_element_path ( ) ; //... here! res }
Create a new `JsonViewer` widget that will display the specified value.
Create a new ` JsonViewer ` widget that will display the specified value .
value
impl Value
value
impl Value