Yellow-Dog-Man / JSONSchemas

2 stars 1 forks source link

Unify System.Text.Json and Newtonsoft use #1

Open ProbablePrime opened 9 months ago

ProbablePrime commented 9 months ago

One of our Schema models uses ONLY newtonsoft One of our Schema Models uses Newton and System.Text.Json.

I'd like to unify behind System.Text.Json and that will give us better schemas.

ProbablePrime commented 9 months ago

See: https://github.com/Yellow-Dog-Man/JSONSchemaGenerator

stiefeljackal commented 9 months ago

You probably have this in mind, but one approach to this is to add System.Text.Json attributes to the desired models that currently only utilize Newtonsoft attributes. That way, you can run your generator with System.Text.Json only.

ProbablePrime commented 9 months ago

Thanks, the majority of our Models do this already so it makes sense to get it sorted for these too.