Class SourceableConverter
- java.lang.Object
-
- com.cumulocity.rest.representation.SourceableConverter
-
- All Implemented Interfaces:
org.svenson.converter.TypeConverter
public class SourceableConverter extends Object implements org.svenson.converter.TypeConverter
-
-
Constructor Summary
Constructors Constructor Description SourceableConverter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectfromJSON(Object in)static ManagedObjectRepresentationkeepOnlyNecessaryFields(ManagedObjectRepresentation source)ObjecttoJSON(Object in)
-
-
-
Method Detail
-
fromJSON
public Object fromJSON(Object in)
- Specified by:
fromJSONin interfaceorg.svenson.converter.TypeConverter
-
toJSON
public Object toJSON(Object in)
- Specified by:
toJSONin interfaceorg.svenson.converter.TypeConverter
-
keepOnlyNecessaryFields
public static ManagedObjectRepresentation keepOnlyNecessaryFields(ManagedObjectRepresentation source)
-
-