Skip to content

Use map[string]json.RawMessage rather than map[string]any for GeoJSON foreign members and properties #660

@peterstace

Description

@peterstace

This is because foreign members and properties may contain values that don't unmarshal into any without loss of information. For example, JSON numbers that are integral but greater than 2^52 will be unmarshalled into float64 values but loss some information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeThese will break the APIgeojsonRelating to GeoJSONimproveImprove (or remove) an existing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions