Convert JSON to code on any webpage with quicktype playgrounds

May 2018

Based on Kotlin playgrounds[1], quicktype playgrounds allow you to embed quicktype in any webpage by including a single script and placing some sample JSON in a <div>. This is great for pages that display JSON because it allows visitors to immediately copy code to represent the data in their apps.

To add a quicktype playground to any webpage, first add this <script> element: