www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Library for serialization of data (with cycles) to JSON and binary

reply Neurone <dtvictorious gmail.com> writes:
Is there a library that can serialize data (which may contain 
cycles) into JSON and a binary format that is portable across 
operating systems?
Aug 06 2016
next sibling parent reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
On Saturday, 6 August 2016 at 16:11:03 UTC, Neurone wrote:
 Is there a library that can serialize data (which may contain 
 cycles) into JSON and a binary format that is portable across 
 operating systems?
JSON: http://code.dlang.org/packages/asdf Binary: http://code.dlang.org/packages/cerealed
Aug 06 2016
parent Neurone <dtvictorious gmail.com> writes:
On Saturday, 6 August 2016 at 16:25:48 UTC, Ilya Yaroshenko wrote:
 On Saturday, 6 August 2016 at 16:11:03 UTC, Neurone wrote:
 Is there a library that can serialize data (which may contain 
 cycles) into JSON and a binary format that is portable across 
 operating systems?
JSON: http://code.dlang.org/packages/asdf Binary: http://code.dlang.org/packages/cerealed
"ASDF is currently only very loosely validating jsons and with certain functions even silently and on purpose ignoring failing Objects" Is there a way of turning this off?
Aug 06 2016
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 06/08/16 18:11, Neurone wrote:
 Is there a library that can serialize data (which may contain cycles)
 into JSON and a binary format that is portable across operating systems?
XML: http://code.dlang.org/packages/orange -- /Jacob Carlborg
Aug 06 2016