Answer the question
In order to leave comments, you need to log in
How to create html markup from json?
Hello. Tell me please. I need to output data from json file to html. JSON is something like this:
{"@attributes":{"class":"row small-padding","id":"block3"},"p":"Президент","a":["Дубовсков Андрей Анатольевич",{"@attributes":{"href":"#"},"i":{"@attributes":{"class":"fa fa-search text-default-light fa-hover"}}}],"div":{"@attributes":{"class":"row"},"div":[{"@attributes":{"class":"col-xs-3"},"p":"01.01.2001"},{"@attributes":{"class":"col-xs-1"},"p":"ИНН 0000000"}]}}
Answer the question
In order to leave comments, you need to log in
The json structure has different element structures. All elements must be brought under one standard. And then take them out after that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question