glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
12.12k stars 1.06k forks source link

C#: When set to STJ, DecodeArrayConverter code seems to use Newtonsoft members? #2398

Open ChairmanMawh opened 1 year ago

ChairmanMawh commented 1 year ago

Some JSON i pasted recently generated this:

Screenshot from browser
image

I'm using STJ but JsonToken belongs to NewtonSoft. I believe the equivalent is JsonTokenType in STJ

Also, the highlighted variable serializer doesn't appear to be defined anywhere, so I get compile errors with this code section:

Screenshot from VS
image