Package aQute.lib.json
Class StringHandler
java.lang.Object
aQute.lib.json.Handler
aQute.lib.json.StringHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAn array can be assigned to a string.An object can be assigned to a string.void
-
Constructor Details
-
StringHandler
public StringHandler()
-
-
Method Details
-
encode
- Specified by:
encode
in classHandler
- Throws:
IOException
-
decode
-
decode
-
decode
-
decode
-
decodeObject
An object can be assigned to a string. This means that the stream is interpreted as the object but stored in its complete in the string.- Overrides:
decodeObject
in classHandler
- Throws:
Exception
-
decodeArray
An array can be assigned to a string. This means that the stream is interpreted as the array but stored in its complete in the string.- Overrides:
decodeArray
in classHandler
- Throws:
Exception
-