[json-lib-user] Using toBean with a targetBean that has a property of class Set
Brought to you by:
aalmiray
From: Jonathan <jso...@ki...> - 2007-12-09 03:39:50
|
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] |