Class ByteHelper
- java.lang.Object
-
- com.sdicons.json.serializer.helper.impl.AbstractHelper
-
- com.sdicons.json.serializer.helper.impl.ByteHelper
-
- All Implemented Interfaces:
Helper
,MarshallHelper
public class ByteHelper extends AbstractHelper
-
-
Constructor Summary
Constructors Constructor Description ByteHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getHelpedClass()
java.lang.Object
parseValue(JSONObject aObjectElement, JSONMarshall aMarshall, java.util.HashMap aPool)
Convert JSON representation into an instance of a class.-
Methods inherited from class com.sdicons.json.serializer.helper.impl.AbstractHelper
equals, renderValue
-
-
-
-
Method Detail
-
parseValue
public java.lang.Object parseValue(JSONObject aObjectElement, JSONMarshall aMarshall, java.util.HashMap aPool) throws MarshallException
Description copied from interface:MarshallHelper
Convert JSON representation into an instance of a class.- Parameters:
aObjectElement
- The source element we have to convert into an object.aMarshall
- The marshall we can use to convert sub elements into subobjects to compose our target object.aPool
- A pool of objects already encountered. Is used to resolve references.- Returns:
- The newly created object.
- Throws:
MarshallException
-
getHelpedClass
public java.lang.Class getHelpedClass()
-
-