Who says you&#x27;re doing JSON-&gt;HTML ? Both HTML and your data format need to get deserialized to DOM - depending on use case it can be faster&#x2F;smaller to do the deserialization in JS from some format rather than using browser HTML parser.<p>HTML is actually non-trivial to parse and isn&#x27;t really optimized for anything.