Class JsonString
- java.lang.Object
- 
- jadex.transformation.jsonserializer.JsonString
 
- 
 public class JsonString extends java.lang.ObjectClass representing a string containing JSON. This class can be used as parameter or return value in services to circumvent the conversion stage and directly accept or return raw JSON.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringjsonThe concrete JSON string.
 - 
Constructor SummaryConstructors Constructor Description JsonString()Create a new JsonString object.JsonString(java.lang.String json)Creates the JsonString object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Matches based on the internal JSON string.inthashCode()Hash code based on the JSON.java.lang.StringtoString()Returns the actual JSON string.
 
- 
- 
- 
Method Detail- 
hashCodepublic int hashCode() Hash code based on the JSON.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Matches based on the internal JSON string.- Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() Returns the actual JSON string.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The JSON string.
 
 
- 
 
-