chirino/resty-gwt — Issue #72: Enhancement: add support for Object encoding / decoding
Author: yarrumretep
Created: 2011-10-17 19:36:01+00:00
State: open

There are probably a couple of passes needed here, but an initial pass would be to just handle the JSON built-in types: boolean, string, number, arrays, objects (as maps).

Ultimately it would be great to allow for a type-resolver to resolve JSON objects into objects - but that could be phase two.

The idea is to support encoding / decoding for interfaces like this:

'''
public void getProperty(String name, MethodCallback