-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add -json
flag to allow json types creation
#1882
Conversation
considerably, how much modular would this be than XML/HXP? |
Hmmm... oddly, I don't see the https://haxe.org/manual/compiler-usage.html Is it new in Haxe 5? |
seems like it's not in the documentation, but at least as of
|
I think it enables more possibilities for documentation, as JSON is pretty widely used these days, and tool support for managing and working with JSON I feel is more easily available / usable. |
sounds good to me |
Thanks. Seems reasonable to me to add this one in a feature update. Maybe 8.3. |
Along with type information in XML format, Haxe also supports type information in JSON format. So this change is simple and follows along wherever
if (project.targetFlags.exists("xml"))
is and we just check for a json flag as well.