JSON without reflection was: Native image compilation error

Jaroslav Tulach jaroslav.tulach at oracle.com
Mon Nov 20 05:49:06 UTC 2017


>> Leonardo Loch Zanivan <pangalz at gmail.com>: 18.11.17 @ 21:10 <<
> All the JSON serializers I know uses Reflection APIs, so I suppose this is
> something to be supported in future releases.

Hi. I wrote [Apache HTML/Java API](https://github.com/apache/incubator-netbeans-html4j) and it can be [used for parsing/serializing JSON](https://
dukescript.com/update/2015/01/27/ParsingJSON.html) without any need of 
reflection. As such one can use this method in native-image without any issues.

Good luck.
-jt



More information about the graal-dev mailing list