Similar Posts

2 Comments

  1. am I correct that this doesn’t work in .net 9?

    public class Foo
    {
    public Foo(int b) {
    this.Bar = b;
    }

    [JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
    public int Bar { get; }
    }

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you a human? *