Class JSONConverter
java.lang.Object
org.onehippo.forge.camel.converter.json.JSONConverter
- All Implemented Interfaces:
org.apache.camel.TypeConverters
@Converter(generateLoader=true)
public class JSONConverter
extends Object
implements org.apache.camel.TypeConverters
JSON Converter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
toInputStream
(org.json.JSONObject json) static org.json.JSONObject
static String
toString
(org.json.JSONObject json)
-
Constructor Details
-
JSONConverter
public JSONConverter()
-
-
Method Details
-
toString
-
toInputStream
-
toJSON
-