ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

@Name annotation doesn't work with JSON attribute begnining with an uppercase #230

Closed tienhm closed 10 years ago

tienhm commented 11 years ago

public interface Foo extends JsonBuilder { @Name("TestAttr") String getTest(); @Name("TestAttr") Foo setTest(String test); }

Given that foo is instance of Foo after foo.load("{\"TestAttr\": \"some value\"}"), foo.getTest() must return "some value" not null as current implementation.