knv/json-editor

supporting json path

nestoru opened this issue · 1 comments

Hi Kamiar,

I am wondering if it makes sense to you the following changes (I might be able to fork this and enhance it but first I would like to know your opinion)

  1. Is the button "Save" label actually self explanatory? I think all that button does is to actually "load" the pasted json string into the tree.
  2. Instead of label "Label" doesn't it make sense to have as label "JsonPath" instead?
  3. Then "JsonPath" field should be editable so we can get just a fraction of the json we loaded corresponding to the specified JsonPath

Thanks for reading. Your feedback is appreciated.

-Nestor

forget about point 1. I just figured this is actually to locally save the json. Points 2 and 3 are still relevant as I would like to add json path support.