Skip to content
Discussion options

You must be logged in to vote

When we were building the JSON pipeline for v3, System.Text.Json was very immature.

Today the biggest blocker to move to System.Text.Json is the propagation of line info. We rely on this propagation mechanism to report detailed diagnostic locations for YAML files. With Newtonsoft.Json, we can attach custom source info to JToken and deserialize it into Source<T> with a custom JsonConverter. There doesn't seem to be a straightforward way of achieving the same in System.Text.Json.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@KalleOlaviNiemitalo
Comment options

@paulushub
Comment options

@KalleOlaviNiemitalo
Comment options

@VaclavElias
Comment options

Comment options

You must be logged in to vote
1 reply
@paulushub
Comment options

Answer selected by VaclavElias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants