-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove JsonViewComponentResult #3992
Comments
@rynowak Is the JsonHelper supposed to be using the |
Looks like we have a variety of behaviors depending on how you do serialization:
|
Only JsonOutputFormatter/JsonInputFormatter are using array pooling. |
This has been rehashed like 15 times, and every time it's discussed my suggestion is to remove If we're still not willing to remove this, let's make it go through one of the other code paths.
This is not true. No code in Let's add the above to the docs in |
We've decided to fix the inconsistencies here by removing |
Fixed in #4263 |
I noticed that
JsonHelper
reusesJsonOutputFormatter
for writing JSON butJsonViewComponentResult
doesn't. It misses out from array pooling that is managed by the output formatter.Should JsonViewComponentResult use JsonOutputFormatter?
The text was updated successfully, but these errors were encountered: