SomeRanDev / reflaxe.CPP

An alternative C++ target for Haxe that generates dependent-less, GC-less C++17 code.
MIT License
72 stars 5 forks source link

May be it's difficult to implement haxe.Json? #18

Open sonygod opened 1 year ago

sonygod commented 1 year ago

May be it's difficult to implement haxe.json?

current it's not support?

SomeRanDev commented 1 year ago

haxe.Json is implemented in pure Haxe, so should be eventually supported. I'm guessing it's not currently supported due to it requiring Reflect.setField and Dynamic which are not complete atm, but should be in the future!

sonygod commented 1 year ago

I found a Json library that is similar to Haxe in terms of encapsulation. They use macros, and the usage is just as friendly as Haxe. You can take a look at it for reference:

https://github.com/qicosmos/iguana