renderjson icon indicating copy to clipboard operation
renderjson copied to clipboard

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

Open yeshvantbhavnasi opened this issue 5 years ago • 1 comments

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 avatar Jul 08 '19 22:07 yeshvantbhavnasi

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

dandrews-guidewire-com avatar Jul 09 '19 20:07 dandrews-guidewire-com