Skip to content

hi could you help me understand why newtonsoftjson support is a separate package #1477

Closed Answered by danielcweber
zzhan08 asked this question in Q&A
Discussion options

You must be logged in to vote

It's a separate package because result deserialization using Newtonsoft.Json is just one means to facilitate deserialization, and because nothing in the core library depends on Newtonsoft.Json, it's carried out in a kind of pluggable fashion. Unless you replicate the deserialization using something else (e.g. System.Text.Json), you will have to bring the package in. There is no package for System.Text.Json but there will hopefully be in the future, albeit as a commercial extension.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zzhan08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants