网站首页
编程语言
数据库
系统相关
其他分享
编程问答
WriteEndObject
2024-09-14
Utf8JsonWriter生成json
privatestaticTaskWriteResponse(HttpContextcontext,HealthReporthealthReport){context.Response.ContentType="application/json;charset=utf-8";varoptions=newJsonWriterOptions{Indented=true};usingvarmemoryStr