<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="297472" data-post-id="297472">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="DEvil0000" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/DEvil0000/120/31535_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  DEvil0000
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The issues with <code>base64</code> or similar things are:</p>
<ul>
<li>you can not diff on it naive and natively</li>
<li>it is less compactable (“zip”, double delta compression, …)</li>
<li>you need <code>base64</code> encoding/decoding as a extra step when transport as json is given</li>
<li>not readable in native format</li>
</ul>
<p>This also applies to binary formats or other codings.<br>
<code>JSON</code> has in addition the advantage that basically all modern databases and other sotftware supports it natively.</p>
<p>As so often in software there are pros and cons and it depends on your needs if the approach fits. Of course there are other options and pathes one can choose for implementation or architecture.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="297472" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/jexon-lossless-encoding-to-json/57486/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-297472" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="297472"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>