Fundamentals
    Preparing search index...

    Class PointJsonConverter

    JSON converter for Point type (GeoJSON format).

    Hierarchy (View Summary)

    Index
    • Determines whether the converter can convert the specified type.

      Parameters

      Returns boolean

      True if the converter can convert the type; otherwise, false.

      Not called by JsonSerializer and scheduled for removal in the next major version. A converter is resolved by the type it declares through type, which is what this would answer anyway, so overriding it has no effect - register a converter per type instead. Wiring it into the lookup is not the plan either: it would force a scan of every converter on the path taken by every plain object, to serve a case a second registration already covers.