jeremyfa / node-ts2hx

Typescript to Haxe transpiler written in JavaScript
MIT License
101 stars 16 forks source link

Ts2Hx.JSON* #5

Closed elsassph closed 9 years ago

elsassph commented 9 years ago

Haxe has haxe.Json.parse() and haxe.Json.stringify() which map to the native browser JSON class or to a custom implementation for other targets.

Optionally you can compile with -D haxeJSON to include a JSON fallback for browsers which do not have it built-in.

elsassph commented 9 years ago

Should probably look at the support class before commenting...

nadako commented 9 years ago

ts2hx could convert integer argument for space to a number of spaces :-P