Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

custom rendering #32

@Sigfried

Description

@Sigfried

It doesn't look like there's a way to override basic rendering methods. Is that right, or am I missing something?

What I'd like to do at the moment is just to hide numeric keys (and ":") for Array items, but still show them for Object items. I thought I might try it after rendering (as awful an idea as that is in react), but I'm not sure how to distinguish them by class names or anything.

I know I'm trying to use react-json-inspector as a general json display component, which is presumably beyond its intended use, but it already does close to what I want and I'm using it anyway to help with debugging during development.

Thanks!

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