assert(deserialize!(int[string])(serializeToJson(null)) is null); assert(deserialize!(int[string])(serializeToAsdf(null)) is null); assert(deserialize!(int[string])(serializeToJson(["a" : 1, "b" : 2])) == ["a" : 1, "b" : 2]); assert(deserialize!(int[string])(serializeToAsdf(["a" : 1, "b" : 2])) == ["a" : 1, "b" : 2]);
Deserialize string-value associative array