Early static API design decisions for JsonSerializer in System.Text.Json #107496
-
I've been looking toward Finding early discussions around the static APIs is a bit difficult as this work began in the corefx repo outside of the usual runtime API discussions. Some relevant references I could find include:
Looking way back in Json.NET too didn't seem to yield answers either. I did find unverifiable answers, often overlapping with general reasoning around
To sum up: I'd like to know the initial |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I believe it's more about state. |
Beta Was this translation helpful? Give feedback.
@eiriktsarpalis is correct: the goal was to minimize ceremony to have simple one-liners. I believe we modeled it off of
Newtonsoft.Json
'sJsonConvert
API.