Package io.pivotal.cfenv.core
Class JsonIoConverter
java.lang.Object
io.pivotal.cfenv.core.JsonIoConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapjsonToJavaWithListsAndInts(String jsonInput) Conveniently takes a Json String as input and uses json-io to unserialize it.
-
Constructor Details
-
JsonIoConverter
public JsonIoConverter()
-
-
Method Details
-
jsonToJavaWithListsAndInts
Conveniently takes a Json String as input and uses json-io to unserialize it. Then, converts all the Object[] into List; and all the longs that could have just been ints into ints- Parameters:
jsonInput- the string with the Json content- Returns:
- a serialized version of the input in a Map
-