Posts by Pedro Henrique Camargo • 21 points
2 posts
-
0
votes3
answers104
viewsA: How can I simplify access to the values of interest of a JSON in Javascript?
I found a simple solution using methods static of Ecmascript 6, as follows in the code. In them, I define as return the path to my information of interest, simple as this. var obj = { "arvore": {…
-
2
votes3
answers104
viewsQ: How can I simplify access to the values of interest of a JSON in Javascript?
Context: I’m developing an application that consumes multiple Apis. The JSON returned by these Apis have their own structure, where it is often not the most intuitive for the programmer to explore…