Snippets tagged

  • JsonValue JsonConverter

    Not super efficient, and doesn't work on every case, but works most of the time. Json.NET JsonConverter for a JsonValue, i.e. JsonValueConverter. If you're using with a converter for discriminated unions, be sure to give this one higher precedence (since JsonValue is implemented as a DU).

    2 people like this

    Posted: 4 years ago by Nat Elkins