Right now there's support for de-serializing types from a string, Would it be interesting to also be able to produce(by serializing) these strings from the type instances?
parser.toString(listWithInt)
parser.toString(listWithBoolean)
parser.toString(mapOfStrings)
example/usecase:
saveState {
savedState = parser.toString(mapOfStrings)
}
loadState {
mapOfStrings = parser.parse(savedState,new GenericType<Map<String,String>(){});
}
Right now there's support for de-serializing types from a string, Would it be interesting to also be able to produce(by serializing) these strings from the type instances?
parser.toString(listWithInt)
parser.toString(listWithBoolean)
parser.toString(mapOfStrings)
example/usecase:
saveState {
savedState = parser.toString(mapOfStrings)
}
loadState {
mapOfStrings = parser.parse(savedState,new GenericType<Map<String,String>(){});
}