On Mon, 03 Oct 2016 19:02:46 GMT, o3o wrote:

(...)

With vibe-d 0.7.30-alpha.4 it works, with 0.7.30-rc.1 I've this error:

Deserializing composite type JsonSerializer which has no serializable fields.
../../../.dub/packages/vibe-d-0.7.30-rc.1/vibe-d/source/vibe/data/serialization.d(605,31): Error: function alyx.algorithm.common.CopyData.fromRepresentation (Json json) is not callable using argument types (JsonSerializer)
../../../.dub/packages/vibe-d-0.7.30-rc.1/vibe-d/source/vibe/data/serialization.d(287,69): Error: template instance vibe.data.serialization.deserializeValueImpl!(JsonSerializer, DefaultPolicy).deserializeValue!(CopyData) error instantiating
../../../.dub/packages/vibe-d-0.7.30-rc.1/vibe-d/source/vibe/data/serialization.d(253,61):        instantiated from here: deserializeWithPolicy!(JsonSerializer, DefaultPolicy, CopyData, Json)
../../../.dub/packages/vibe-d-0.7.30-rc.1/vibe-d/source/vibe/data/json.d(1375,40):        instantiated from here: deserialize!(JsonSerializer, CopyData, Json)
src/alyx/algorithm/common.d(530,53):        instantiated from here: deserializeJson!(CopyData)
dmd failed with exit code 1.

I can't figure out what I'm doing wrong...

This slipped in with a code refactoring in the serialization module. I've committed a fix now (including a regression test). I'll also tag a new release candidate this weekend.