You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on having a toggle between the code view and the tree view of a JSON object. So when the user clicks to view the tree mode I show the JSON using the package and when the user clicks to view the code mode again I hide the tree view but I notice that the object has an attribute added to the children which is
$$hashKey:"object:695". the number changes depending on the child.
and when I show the tree mode and go back to the code mode I get the following object { "second": "good night", "third": [ 1, "two", 3, { $$hashKey:"object:695", "child": true }, { $$hashKey:"object:696", "parent": true } ], "first": "bye" }
Environment
Angular 1.5.5
The text was updated successfully, but these errors were encountered:
hannabasha
changed the title
$$hashKey attribute is added to the last child
$$hashKey attribute is added to the last childern
Aug 10, 2017
hannabasha
changed the title
$$hashKey attribute is added to the last childern
$$hashKey attribute is added to the last children
Aug 10, 2017
Datrio
added a commit
to Datrio/angular-json-tree
that referenced
this issue
Aug 24, 2017
First of all, really nice work!!!
I am working on having a toggle between the code view and the tree view of a JSON object. So when the user clicks to view the tree mode I show the JSON using the package and when the user clicks to view the code mode again I hide the tree view but I notice that the object has an attribute added to the children which is
$$hashKey:"object:695". the number changes depending on the child.
The following is the normal JSON I have
{ "second": "good night", "third": [ 1, "two", 3, { "child": true }, { "parent": true } ], "first": "bye" }
and when I show the tree mode and go back to the code mode I get the following object
{ "second": "good night", "third": [ 1, "two", 3, { $$hashKey:"object:695", "child": true }, { $$hashKey:"object:696", "parent": true } ], "first": "bye" }
Environment
Angular 1.5.5
The text was updated successfully, but these errors were encountered: