Deserialize composite type from JSON



Continuing the discussion from Serializing composite type to json:

What is the closest that I can come to deserializing a composite type from JSON?

I would like to be able to do something akin to
deserialize(Foo, JSON.json(Foo("xyz",1.2)))


Not yet, but there is an issue here with a possible solution:


See the Unmarshal.jl package by @lwabeke.