title: Efficient conversion between Smile and JSON
body: <p>I've read that the conversion between Smile and JSON can be done efficiently in a few sources:</p>
  
  <ul>
  <li><em>This means that conversion between JSON and Smile can be done efficiently and without loss of information.</em> (<a href="https://github.com/FasterXML/jackson-docs/wiki/Presentation:-Jackson-Performance" rel="nofollow noreferrer">github, jackson-docs</a>);</li>
  <li><em>The two formats are compatible: you can send Smile and decode as JSON, by wrapping the proper decoder.</em> (<a href="https://stackoverflow.com/questions/31652452/fasterxml-jackson-smile-vs-json">stackoverflow</a>)</li>
  </ul>
  
  <p>And even <a href="https://en.wikipedia.org/wiki/Smile_%28data_interchange_format%29" rel="nofollow noreferrer">Wikipedia</a>: <em>... which means that tools that operate on JSON may be used with Smile as well, as long as proper encoder/decoder exists for tool to use</em></p>
  
  <p>Unfortunately, I haven't find anything helpful in any of the sources except the information about encoder/decoder.</p>
  
  <p>So the general question is <strong>how can this be done</strong>?</p>
  
  <ul>
  <li>Is there some built-in way for doing this?</li>
  <li>If not, are there some custom and already implemented solutions?</li>
  <li>If not, please, give me a few hints about writing encoder/decoder.</li>
  </ul>