# Great tool: json2typedef

**URL:** https://community.haxe.org/t/great-tool-json2typedef/2824
**Category:** Haxe
**Created:** [December 29, 2020, 5:21pm UTC](https://community.haxe.org/t/great-tool-json2typedef/2824 "2020-12-29T17:21:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jcward](https://community.haxe.org/user_avatar/community.haxe.org/jcward/32/115_2.png) [@jcward](https://community.haxe.org/u/jcward)
#### Post date: [December 29, 2020, 5:21pm UTC](https://community.haxe.org/t/great-tool-json2typedef/2824/1 "2020-12-29T17:21:07Z")

</div>

I just had to shout out [YellowAfterlife](https://twitter.com/yellowafterlife)’s awesome tool - [json2typedef](https://yal.cc/r/19/json2typedef/) ([github code](https://github.com/YellowAfterlife/json2typedef)). Paste in a JSON blob (and click out) and it generates a typedef.

This is a handy time saver when creating type definitions for libraries from their API documentation / examples.

![image](https://community.haxe.org/uploads/default/original/2X/8/8eda8e30473d89b4acddc5f55af55b4917036b9f.png)
