Skip to content

Instantly share code, notes, and snippets.

View Malows's full-sized avatar

Juan Manuel Cruz Malows

  • Santa Fe, Argentina
View GitHub Profile
@Malows
Malows / JsonClass.hx
Created March 9, 2018 18:01 — forked from miltoncandelero/JsonClass.hx
Creates typedefs based on a json example variable.
import haxe.Json;
/**
* Toss a Dynamic var and get a typedef declaration! (Inspired by http://json2csharp.com)
* (A bit of code stolen from https://gist.github.com/elsassph/16d3b2597f6a51b5817c2fa97dd7f505)
* @author Milton Candelero (Elemental Code)
*/
class JsonClass
{