-
- Type Parameters:
T
- type of the object toread
.
- All Known Subinterfaces:
EntityBean
,Marshalling<T>
,MarshallingObject
,UnmarshallableObject
,VirtualBean
,WritableBean
,WritableBeanProperty<V>
,WritableBigDecimalProperty
,WritableBigIntegerProperty
,WritableBooleanProperty
,WritableByteProperty
,io.github.mmm.property.container.collection.WritableCollectionProperty<V,E>
,WritableContainerProperty<V,E>
,WritableDoubleProperty
,WritableFloatProperty
,WritableInstantProperty
,WritableIntegerProperty
,WritableListProperty<E>
,WritableLocalDateProperty
,WritableLocalDateTimeProperty
,WritableLocalTimeProperty
,WritableLongProperty
,WritableMapProperty<K,V>
,WritableNumberProperty<N>
,WritableObjectProperty<V>
,WritableOffsetDateTimeProperty
,WritableOffsetTimeProperty
,WritableProperty<V>
,WritableRangeProperty<V>
,WritableSetProperty<E>
,WritableShortProperty
,WritableSimpleProperty<V>
,WritableStringProperty
,WritableZonedDateTimeProperty
- All Known Implementing Classes:
AbstractBean
,AbstractVirtualBean
,AdvancedBean
,Bean
,BeanProperty
,BigDecimalProperty
,BigIntegerProperty
,BooleanProperty
,ByteProperty
,io.github.mmm.property.container.collection.CollectionProperty
,ContainerProperty
,DatatypeMarshalling
,DoubleProperty
,DurationInSecondsProperty
,DynamicBean
,FloatProperty
,IdProperty
,InstantProperty
,IntegerProperty
,LinkProperty
,ListMarshalling
,ListProperty
,LocalDateProperty
,LocalDateTimeProperty
,LocalTimeProperty
,LongProperty
,MapProperty
,NumberProperty
,ObjectProperty
,OffsetDateTimeProperty
,OffsetTimeProperty
,Property
,RangeProperty
,SetProperty
,ShortProperty
,SimpleEntityBean
,SimpleProperty
,StringListProperty
,StringProperty
,TemporalProperty
,ZonedDateTimeProperty
public interface Unmarshaller<T>
Interface for an unmarshaller that canread
(unmarshall or de-serialize) an object from structured formats such as JSON or XML.- Since:
- 1.0.0
- See Also:
Marshaller
,UnmarshallableObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
readObject(StructuredReader reader)
-
-
-
Method Detail
-
readObject
T readObject(StructuredReader reader)
- Parameters:
reader
- theStructuredReader
where to read the data from.- Returns:
- the unmarhsalled or de-serialized object. If this is an instance of
UnmarshallableObject
then the called instance is modified by filling in the unmarshalled data and will return itself.
-
-