更新时间:2023-02-12 08:42:32
关于 ServiceStack的JSON序列化器中的其他挂钩>还有JsConfig<T>.RawSerializeFn
和JsConfig<T>.RawDeserializeFn
应该可以满足您的需求.
In terms of other hooks in ServiceStack's JSON Serializers there's also JsConfig<T>.RawSerializeFn
and JsConfig<T>.RawDeserializeFn
which should do what you need.
否则,如果您只想进行一些前/后处理,则还有JsConfig<T>.OnSerializingFn
和JsConfig<T>.OnDeserializedFn
自定义钩子.
Otherwise if you just want to some pre/post processing there's also the JsConfig<T>.OnSerializingFn
and JsConfig<T>.OnDeserializedFn
custom hooks.