Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 10, 2012 Re: Serialization library with support for circular references? | ||||
---|---|---|---|---|
| ||||
11/10/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> I've been using msgpack for a while, unfortunately I've just discovered it doesn't support serializing circular references (http://jira.msgpack.org/browse/MSGPACK-81)
Anyway I think I'll be able to hack-in circular reference support to msgpack, but it's not going to be compatible with the protocol (well a new Header type will have to be introduced). It's not a big issue for me since I only use it offline. I'll post a link to the fork when I'm done.
|
November 10, 2012 Re: Serialization library with support for circular references? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | You can try vibe.d bson serialization. http://vibed.org/api/vibe.data.bson/serializeToBson On Saturday, 10 November 2012 at 21:23:03 UTC, Andrej Mitrovic wrote: > 11/10/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote: >> I've been using msgpack for a while, unfortunately I've just >> discovered it doesn't support serializing circular references >> (http://jira.msgpack.org/browse/MSGPACK-81) > > Anyway I think I'll be able to hack-in circular reference support to > msgpack, but it's not going to be compatible with the protocol (well a > new Header type will have to be introduced). It's not a big issue for > me since I only use it offline. I'll post a link to the fork when I'm > done. |
November 10, 2012 Re: Serialization library with support for circular references? | ||||
---|---|---|---|---|
| ||||
Posted in reply to nixda | On 11/10/12, nixda <b@or.de> wrote:
> You can try vibe.d bson serialization. http://vibed.org/api/vibe.data.bson/serializeToBson
It doesn't handle them either. Anyway I've implemented it for msgpack (took a whole of 30 minutes, it's a great and readable codebase), I just have to write some more extensive unittests to make sure everything works ok.
|
May 23, 2015 Re: Serialization library with support for circular references? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | On Saturday, 10 November 2012 at 22:09:07 UTC, Andrej Mitrovic wrote:
> On 11/10/12, nixda <b@or.de> wrote:
>> You can try vibe.d bson serialization.
>> http://vibed.org/api/vibe.data.bson/serializeToBson
>
> It doesn't handle them either. Anyway I've implemented it for msgpack
> (took a whole of 30 minutes, it's a great and readable codebase), I
> just have to write some more extensive unittests to make sure
> everything works ok.
|
May 23, 2015 Re: Serialization library with support for circular references? | ||||
---|---|---|---|---|
| ||||
Posted in reply to timotheecour | On Saturday, 23 May 2015 at 08:01:28 UTC, timotheecour wrote: > On Saturday, 10 November 2012 at 22:09:07 UTC, Andrej Mitrovic wrote: >> On 11/10/12, nixda <b@or.de> wrote: >>> You can try vibe.d bson serialization. >>> http://vibed.org/api/vibe.data.bson/serializeToBson >> >> It doesn't handle them either. Anyway I've implemented it for msgpack >> (took a whole of 30 minutes, it's a great and readable codebase), I >> just have to write some more extensive unittests to make sure >> everything works ok. Do you have any pointers to it? This issue tracks this feature request: https://github.com/msgpack/msgpack-d/issues/7 Thanks! |
Copyright © 1999-2021 by the D Language Foundation