synopse/mORMot — pull request #4 by jorditudela (2014-09-10 19:25:47+00:00)
Title: fixed JSON serialization of TPersistent fields

When the object has a property referencing another object it must be
serialized as PtrInt instead of WriteObject, because it holds an ID
reference