dotnet/aspnetcore

Add possibility to inject json reviver function in Typescript client

开放

#5,321 创建于 2018年7月26日

 (3 条评论) (2 个反应) (0 位负责人)C# (10,653 个派生)batch import
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor

仓库指标

星标
 (37,933 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently there is no possibility to customize in any way the behavior of JsonHubProtocol. It could pass a reviver function to the JSON.parse method. If a user could inject such function to the JsonHubProtocol it would be much easier to perform any data transformation (like converting date strings to Date objects).

贡献者指南