0
Hi, I’m having a hard time solving my problem. It is as follows: i have an HTML page and a file . json i need to bring this json file in my html page using jquery or javascript I really wanted to ask you to pass me examples of how I do this process step by step and if possible considering that json with array and without array. I searched a lot on the internet but none managed to solve my problem, I’m having difficulties also with articles in English.
EXAMPLE OF JSON:
[{"id": 1, "tipo": "tv", "nome": "Fácil", "descricao": "Lorem ipsum ", "exibir": 1, "ordem": 1, "adesao": 100, "taxaInstalacao": 5, "canais": 7, "listaCanais": [ { "categoria": "Abertos", "descricao": "Canal aberto de variedades abrangente voltado para toda \u00e0 fam\u00edlia.", "id": 465, "imagem": "netcombo.com.br/cs/Satellit";, "nome": "Record"}, "preco":9, "preco2:30},]
EXAMPLE OF JSON: [{"id": 1, "type": "tv", "name": "Easy", "Description": "Lorem ipsum", "display": 1, "order": 1, "adhesion": 100, "taxaInstalacao": 5, "channels": 7, "listCanais": [ { "category": "Open", "Description": "Wide-ranging open channel aimed at all u00e0 fam u00edlia." , "id": 465, "image": "http://www.netcombo.com.br/cs/Satellit", "name": "Record"}, "price":9, "price 2:30},]
– Isa
Pass values from a JSON to html via Jquery http://answall.com/questions/46010/passar-values-de-um-json-para-o-html-via-jquery?rq=1
– user60252
Your json has tmb error:
"imagem": "netcombo.com.br/cs/Satellit";,
that ; has to erase and:"preco2:30
you have to close the double quotes :"preco2":30
– Jessika