react-json-tree icon indicating copy to clipboard operation
react-json-tree copied to clipboard

get name property and key on valueRenderer

Open roberto-slopez opened this issue 6 years ago • 2 comments

It is possible to obtain the name of the property and the key of the property in labelRenderer and valueRenderer

I try passed delta diff [https://github.com/benjamine/jsondiffpatch], I need key for get change on delta

delta: is a array diffs of json

roberto-slopez avatar Sep 11 '17 17:09 roberto-slopez

+1 for this.

dorner avatar Feb 22 '18 20:02 dorner

It's not documented but per this line the key path is just some additional arguments passed to valueRenderer.

cephirothdy2j avatar Feb 26 '18 21:02 cephirothdy2j