Class AutoBeanCodex
java.lang.Object
com.google.web.bindery.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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> AutoBean
<T> decode
(AutoBeanFactory factory, Class<T> clazz, Splittable data) Decode an AutoBeanCodex payload.static <T> AutoBean
<T> decode
(AutoBeanFactory factory, Class<T> clazz, String payload) Decode an AutoBeanCodex payload.static void
decodeInto
(Splittable data, AutoBean<?> bean) Copy data from aSplittable
into an AutoBean.static Splittable
Encodes an AutoBean.
-
Constructor Details
-
AutoBeanCodex
public AutoBeanCodex()
-
-
Method Details