Package org.apache.ofbiz.entity.util
Class Converters.GenericValueToJSON
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<GenericValue,JSON>
-
- org.apache.ofbiz.entity.util.Converters.GenericValueToJSON
-
- All Implemented Interfaces:
Converter<GenericValue,JSON>
,ConverterLoader
- Enclosing class:
- Converters
public static class Converters.GenericValueToJSON extends AbstractConverter<GenericValue,JSON>
-
-
Constructor Summary
Constructors Constructor Description GenericValueToJSON()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSON
convert(GenericValue obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public JSON convert(GenericValue obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-