1
I would like to filter some data from a JSON returned from a query, in order to return a list with the title and value of each property.
code I’m trying to modify:
      var titulo = Object.keys(retorno);
      for(var i = 0; i < titulo.length; i++){
           console.log(titulo.i);
      }
    var conteudo = Object.values(retorno);
 $("table").append(`<tr id='t_titulo'>
                        <th>${titulo}</th>
                            </tr>
                        <td id='t_conteudo'>
                       ${conteudo}</td>
                    </tr>`);
You can close the question or post the object to supplement your question.
– Marcelo Batista