-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support data substitution/replacer #52
Comments
Yea that makes sense, would you be able to open a PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Complex data structures can include encoded data. When viewing the data expanded in an explorer you often want to decode that data to make it more readable. I tried to replace an existing viewer with react-inspector to realize that
nodeRenderer
does not respect thatdata
param passed forward. I decode the information and pass it forward toObjectLabel
which only uses it for deciding the label component and ignores the actual data instead using the top level object iterator.Another way of thinking about this is the replacer option in
JSON.stringify
For large data objects it can be too expensive to translate an entire model in one go, so its best if only the expanded options are converted, which is why you would want this built into
ObjectInspector
instead of doing it ahead of time.The text was updated successfully, but these errors were encountered: