java.lang.Object | |
↳ | com.google.gwt.autobean.shared.AutoBeanCodex |
Utility methods for encoding an AutoBean graph into a JSON-compatible string. This codex intentionally does not preserve object identity, nor does it encode cycles, but it will detect them.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Decode an AutoBeanCodex payload.
| |||||||||||
Encodes an AutoBean.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Decode an AutoBeanCodex payload.
factory | an AutoBeanFactory capable of producing AutoBean<T> |
---|---|
clazz | the expected return type |
payload | a payload string previously generated by
encode(AutoBean) |
Encodes an AutoBean. The actual payload contents can be retrieved through
getPayload()
.
bean | the bean to encode |
---|