Hi @simonbasle,
I was thinking about something like:
public interface JsonValueTranscoder{
public String toJsonValue(Object _input);
public Object fromJsonValue(String _input);
}
and then for using it, myJsonObject.put(“key”, myObject, myTranscoder)
or myJsonObject.get(“key”, myTranscoder);
This seems to be (at least, i think) the most simple and general approach for this problem.
If it seems good, I can write a sample and see how well it could be used ?