Skip to content
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

Feature Request: For ReferenceId to an id field in the JSON. Make the referenceID field clickable to auto navigate to the element. #35

Open
yeshvantbhavnasi opened this issue Jul 8, 2019 · 1 comment

Comments

@yeshvantbhavnasi
Copy link

yeshvantbhavnasi commented Jul 8, 2019

For example we have a json

{ 'subject' : { '$id':'123', 'name':'maths', 'desc':'some desc' }, 'students': [ { '$id':'1' 'firstName':'bob', 'lastName':'agent', 'subjects':[ { '$refId':123 'type':'subject' } ] } ] }

Here you can see the subject in student object has a referenceid to subject object. A feature to make the reference ID's clickable so we can auto navigate to the subject object instead of trying to search in a long rendered json.

@yeshvantbhavnasi yeshvantbhavnasi changed the title For Referenceid to an id field in the JSON. Make the referenceID clickable so we can auto navigate to the element. Feature Request: For ReferenceId to an id field in the JSON. Make the referenceID field clickable to auto navigate to the element. Jul 8, 2019
@dandrews-guidewire-com
Copy link

We worked around this slightly differently, by removing $refs, see https://stackoverflow.com/questions/15312529/resolve-circular-references-from-json-object

andifreed added a commit to andifreed/renderjson that referenced this issue Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants