how to generate the json from the whole page which will have different block in the eds.
Hi,
I have to provide the html of the page in the json format for third party integration.
I have created 1 page and authored multiple component on the page so I am good with the html structure/
ex. /content/company-eds/navigation-test/nav.plain.html is the path of the page and below is a sample html which I am getting for this page.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div>
<div class="main-navigation">
<div>
<div>Tttle</div>
</div>
<div>
<div>subtitle</div>
</div>
<div>
<div></div>
</div>
</div>
<div class="section-metadata"></div>
</div>
<div>
<div class="utility-navigation">
<div>
<div>Utility Nav</div>
</div>
</div>
</div>
<div>
<div class="main-navigation">
<div>
<div>shopper</div>
</div>
<div>
<div></div>
</div>
</div>
<div class="featured-navigation">
<div>
<div>featured 1</div>
</div>
</div>
</div>
</body>
</html>
wull attached the html also.
on this page I have added multiple blocks, same html I have to provide in json format.
can we convert html to Json in eds?
or any other approach which I can follow.
kindly revert with steps if any one has done same kind of implemetation.