I want to change a map changing also her subtypes that can be list or also map.
Her the map already changed:
<code>var mydata = {
"data": {
""user1"": {
""notes"": [""a"", ""b"", ""c""],
""todos"": [""a"", ""b"", ""c""],
""categories"": [""a"", ""b"", ""c""]
},
""user2"": {
""notes"": [""a"", ""b"", ""c""],
""todos"": [""a"", ""b"", ""c""],
""categories"": [""a"", ""b"", ""c""]
},
}
};
</code>
<code>var mydata = {
"data": {
""user1"": {
""notes"": [""a"", ""b"", ""c""],
""todos"": [""a"", ""b"", ""c""],
""categories"": [""a"", ""b"", ""c""]
},
""user2"": {
""notes"": [""a"", ""b"", ""c""],
""todos"": [""a"", ""b"", ""c""],
""categories"": [""a"", ""b"", ""c""]
},
}
};
</code>
var mydata = {
"data": {
""user1"": {
""notes"": [""a"", ""b"", ""c""],
""todos"": [""a"", ""b"", ""c""],
""categories"": [""a"", ""b"", ""c""]
},
""user2"": {
""notes"": [""a"", ""b"", ""c""],
""todos"": [""a"", ""b"", ""c""],
""categories"": [""a"", ""b"", ""c""]
},
}
};
On every string, I add a ” at start and a ” at end.
Thanks in advice.
New contributor
Tasha Clipartino is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.