Moritz Staudinger
Moritz Staudinger
Edit: ah, I took too long to type :P I was talking to @msfredb7 in the text below. I think he was only talking about the data, the binary representation...
> That said, it's also a very unique requirement -- one that I don't know of any deserializer that would support. Ceras does. It supports that and pretty much every...
Yep, none of the collection formatters persist the equality comparer. I guess that's something that should be fixed for some of them. I think the commonly known types like list,...
Another idea: The aot formatter could also at least generate accessor functions for each individual member of a type. That way we can avoid reflection/SetValue in all cases. This "emulator...
Emulator formatter is done now. :smile: 750f01cfbf6c7f30b7b4f3013ff651400b2cd4b0 Generating code from expressions will be easy as well once [this issue](https://github.com/agileobjects/ReadableExpressions/issues/35) gets resolved.
Currently implementing the interface is the only way. But implementing an alternative as you described should be pretty easy: - Add a bool "SerializeAsExternalReference" to [TypeConfig](https://github.com/rikimaru0345/Ceras/blob/master/src/Ceras/Config/TypeConfig.cs) so we can use...
There are settings to limit the maximum number of elements in collections, max length of strings, etc.. everything that is dynamic. Except for "depth", there's no setting for that yet....
It would be very easy to add. The only reason why it isn't already so is because I didn't need it myself. Do you need it? If you do, let...
Yes, indeed. Events with multiple subscribers (really just lots of syntax sugar for `MulticastDelegate`) would then round-trip through the serialization as well. This will be (another) big breaking change. Fortunately...
https://github.com/rikimaru0345/Ceras/commit/c032e1ae20565b64b1922369c511b6b00d466ac8 has all the needed changes. But there are some other things still preventing the branch from being usable. I'll take a look at those later to see if I...