jsonResponse method return type com.chargebee.org.json.JSONObject
outerbound opened this issue · comments
When I include this library as maven dependency in my project, Result and ListResult class method jsonResponse returns type is shows as com.chargebee.org.json.JSONObject instead of org.json.JSONObject?
This is due to the way how this library manages it's dependencies: As you can see from this pom file https://github.com/chargebee/chargebee-java/blob/master/pom.xml#L155-L158 the original classes from org.json.*
get copied into the namespace of this library as com.chargebee.org.json.*
and shipped as this. So at runtime the org.json
dependency is not necessary anymore.
Closing this issue as we are using the JarJar plugin for Maven which repackages this dependency from org.json.* to com.chargebee.org.json.*