Hi Andrea, o.a.w.ajax.json is a copy of Douglas Crockford's JSON-java ( https://github.com/douglascrockford/JSON-java). It has been copied because it is small and easy for "embedding". It is mainly used for Wicket's Ajax needs. As far as I know it doesn't support object mapping.
On Mon, Jul 1, 2013 at 12:33 AM, Andrea Del Bene <[email protected]>wrote: > Hi, > > Wicket comes with a package ( org.apache.wicket.ajax.json ) containing > some utility class to work with JSON. However I couldn't find a way to > deserialize an object from a JSON value. I need something that corresponds > to the method fromJson of Gson library: > > MyClass myClass = gson.fromJson(json, MyClass.class); > > Is there anything similar in Wicket or should I relay on an external > library? >
