Replies: 6 comments 6 replies
-
|
之前为了考虑兼容 CSRedisCore 序列化,所以没有提供 byte[] 序列化参数,可以考虑。 |
Beta Was this translation helpful? Give feedback.
-
public Func<object, object> Serialize;
public Func<string, Type, object> Deserialize;
public Func<byte[], Type, object> DeserializeRaw;增加了一个新的反序列化设置,DeserializeRaw 针对 byte[] ,同时保留旧的 string 反序列化设置。 先讨论一波,如果可以再发布到 nuget 包。 |
Beta Was this translation helpful? Give feedback.
-
|
请过目: add82f4 |
Beta Was this translation helpful? Give feedback.
-
|
@simhgd 题主是否有其他,更多,更具体,更大胆的想法。😁 |
Beta Was this translation helpful? Give feedback.
-
|
v0.2.1 先发布这个包了,使用 cli.DeserializeRaw 设置 byte[] 的反序列化。 |
Beta Was this translation helpful? Give feedback.
-
|
是否可以文档中标明一种默认的 序列化及反序列化回调顺序 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
当前仅支持返回类型为string的序列化,是否可以考虑支持返回byte[]的序列化callback?
Beta Was this translation helpful? Give feedback.
All reactions