title: Convert Java/Json to formatted HTML
body: <p>I have and list of employees with the below structure</p>
  <pre><code>{
    &quot;employees&quot;: {
      &quot;employee&quot;: [
        {
          &quot;name&quot;: &quot;sonoo&quot;,
          &quot;salary&quot;: 56000,
          &quot;married&quot;: true
        },
        {
          &quot;name&quot;: &quot;xoxoxox&quot;,
          &quot;salary&quot;: 55000,
          &quot;married&quot;: true
        }
      ]
    }
  }
  </code></pre>
  <p>How do I transform this data to a well-formatted HTML which has CSS and would look something like this</p>
  <p><a href="https://i.stack.imgur.com/qwb3l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qwb3l.png" alt="enter image description here" /></a></p>
  <p>Q1: How do I map the employee's data to the UI in spring boot?</p>
  <p>Q2. Is there an API to stream JSON response to HTML in java?</p>
  <p>PS: I have to create a generic HTML template that would take dynamic values.</p>