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