[snip...]
> While it may not generate the code for you, the AutoBean
framework
> allows you to wrap the underlying JSON with an API. Continuing
> the above example:
>
> interface Bar {
> String getFoo();
> void setFoo(String value);
> }
> interface BarBeanFactory extends AutoBeanFactory {
> AutoBean newBar();
> }
> Bar bar = AutoBeanCodex.decode(barBeanFactory, Bar.class,
> barNode.toJSONString(true)).as();
I take it this imposes a particular data format?
Yes. JSON.