Closed
Description
I'm not 100% sure if this is the right call of me, but during my investigation of the memory usage of my solution I saw JsonProperty
allocating for each Name
call.
I was using this property of JsonProperty
some times in a JsonConverter<T>
and taking a look at it
I recognized _name
is never properly set, so I think it should be removed completely from JsonProperty
and maybe add a hint that Name
allocates for each call? Also the WriteTo
could be cleaned up.
If this is correct I would be happy to contribute a PR for this.