Replies: 11 comments 33 replies
-
|
@aradalvand this new project is why I'm not spending a lot more time on MessagePack-CSharp. I hope you like the successor. |
Beta Was this translation helpful? Give feedback.
-
|
@Seadoo2017 MessagePack-CSharp hasn't been getting much love lately, as I've been quite busy, and the co-owner doesn't spend much time on it either. I see you reported a bug that you're hoping will get fixed. I'm not likely to get to it unless it bites me personally or I'm hired to fix it. I hope you'll have much better luck with MessagePack-CSharp's successor, Nerdbank.MessagePack, which I'm very actively working on and supporting as bugs come in. See the original post above for details. Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
-
|
@koopmansrw I saw recently that you're trying multiple messagepack libraries. I'd love to invite you to try this one. :) |
Beta Was this translation helpful? Give feedback.
-
|
@kukuro-kt I know you were exploring deserializing a msgpack array of bytes recently. This works today in Nerdbank.MessagePack: [Fact]
public void Bug2230()
{
MessagePackSerializer serializer = new();
byte[] msgpack = [145, 147, 127, 127, 127];
Ms value = serializer.Deserialize<Ms>(msgpack);
Assert.Equal(new byte[] { 127, 127, 127 }, value.rgb);
}
[GenerateShape]
public partial class Ms
{
[Key(0)] public byte[] rgb;
}See the OP of this page for details of this new library. |
Beta Was this translation helpful? Give feedback.
-
|
@AArnott Do you consider adding this project to MsgPack Org Homepage? |
Beta Was this translation helpful? Give feedback.
-
|
@treziac It sounds like you might be interested in this successor to MessagePack-CSharp, since it doesn't require attributes at all by default. Nerdbank.MessagePack has STJ-like contractless behavior, where attributes can be added to override the defaults. |
Beta Was this translation helpful? Give feedback.
-
|
@PawelGerr I saw you are working with MessagePack-CSharp and recently had an issue with a stack overflow in one of its analyzers. I can tell you as one of the two maintainers of that repo, neither of us are paying much attention to it these days. I invite you to check out this library (see original post) which I'm actively working on. It has many new features and more and better analyzers, as you will see. |
Beta Was this translation helpful? Give feedback.
-
|
@Nikodage I didn't want to mention it on the old MessagePack-CSharp repo, but as one of its two chief contributors, I've moved on to this repo, which is the successor to MessagePack-CSharp. I don't spend much time on the former library any more. And FWIW the other contributor doesn't either. This library is very much maintained and has a lot more features than the former library. I'd love to get your feedback on it. |
Beta Was this translation helpful? Give feedback.
-
|
@ThomasBleijendaal I see you've been having trouble with MessagePack-CSharp. Would you care to evaluate its successor? See the top post on this page for more. |
Beta Was this translation helpful? Give feedback.
-
|
@jcasts This library will let you unload types. It doesn't store anything in mutable statics, so you control the cache lifetime by the MessagePackSerializer instance as you suggested with the older library. |
Beta Was this translation helpful? Give feedback.
-
|
@ShadowMarker789 The |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
The Nerdbank.MessagePack library is (in my mind) the successor to MessagePack-CSharp.
You can read more about this transition in my blog post.
See how this library has so many features that MessagePack-CSharp has oft been requested to add but never did.
Beta Was this translation helpful? Give feedback.
All reactions