อัปเดต [2019-12-23]: ครบกำหนดในส่วนของอินพุตชุมชนแกนนำปัญหานี้ได้ถูกเพิ่มไปยังแผนงานสำหรับ. NET 5.0
อัปเดต [2019-10-10]:  หากสนใจที่จะเห็นพฤติกรรมนี้ถูกนำไปใช้System.Text.Json.JsonSerializerตรงไปที่ปัญหา GitHub แบบเปิดที่ชี้โดยChris Yungmannและชั่งน้ำหนัก
แทนสิ่งนี้:
JsonSerializerOptions options = new JsonSerializerOptions
{
    PropertyNamingPolicy = JsonNamingPolicy.CamelCase
    // etc.
};
JsonSerializer.Deserialize<SomeObject>(someJsonString, options);ฉันต้องการทำสิ่งนี้:
// This property is a pleasant fiction
JsonSerializer.DefaultSettings = new JsonSerializerOptions
{
    PropertyNamingPolicy = JsonNamingPolicy.CamelCase
    // etc.
};
// This uses my options
JsonSerializer.Deserialize<SomeObject>(someJsonString); 
// And somewhere else in the same codebase...
// This also uses my options
JsonSerializer.Deserialize<SomeOtherObject>(someOtherJsonString); 
ความหวังคือไม่จำเป็นต้องส่งอินสแตนซ์ของJsonSerializerOptionsกรณีทั่วไปของเราและแทนที่สำหรับข้อยกเว้นไม่ใช่กฎ
ตามที่ระบุไว้ในคำถาม& ข้อนี้เป็นคุณสมบัติที่มีประโยชน์ของ Json.Net ผมมองในเอกสารสำหรับSystem.Text.Jsonเช่นเดียวกับนี้ repo GitHubสำหรับ NET หลัก และหนึ่งในนี้
ดูเหมือนจะไม่เป็นแบบอะนาล็อกสำหรับการจัดการค่าเริ่มต้นการทำให้เป็นอันดับ JSON ใน. NET Core 3 หรือฉันจะมองเห็นมัน?
There doesn't seem to be an analog for managing JSON serialization defaults in Core-3- คุณกำลังพูดถึงคำขอเข้าและออกจาก API ของคุณหรือไม่ หรือคำขอและการตอบสนองต่อทรัพยากรอื่น ๆ ?