I have a class (BeanA) that has getters/setters for a java.util.Set (itemsB). I have no problem using JSONObject.fromObject to get a JSONObject. However, if I want to create an instance of the class by using JSONObject.toBean I receive the error:
"beanClass is an interface. interface java.util.Set"
Is there a way I can I tell json-lib the specific Set implementation I'd like it to use?
Thanks!
---
[This E-mail scanned for viruses by Declude EVA]
|