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 Object
fromJSON(Object in)
static ManagedObjectRepresentation
keepOnlyNecessaryFields(ManagedObjectRepresentation source)
Object
toJSON(Object in)
-
-
-
Method Detail
-
fromJSON
public Object fromJSON(Object in)
- Specified by:
fromJSON
in interfaceorg.svenson.converter.TypeConverter
-
toJSON
public Object toJSON(Object in)
- Specified by:
toJSON
in interfaceorg.svenson.converter.TypeConverter
-
keepOnlyNecessaryFields
public static ManagedObjectRepresentation keepOnlyNecessaryFields(ManagedObjectRepresentation source)
-
-