jsonx-org / java

Reference implementation of the JSONx specification for the Java platform, including encoding, decoding, processing, validation, and binding.
https://www.jsonx.org/java/
MIT License
49 stars 14 forks source link

Generated fields such as "com", "org" or "java" can conflict with package names #18

Open safris opened 4 years ago

safris commented 4 years ago

If a field is named org, the JVM considers anything that start with org as a reference to the field. However, org may also be desired to represent the root of the org.foo.bar... package name.

The preliminary solution to this bug will fix the conflict for com, org and java, but there will remain a possibility that a field's name may conflict with the root package name of types declared in <binding> tags.