Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Is it possible to track changes in source order of map keys? #15

@nullrocket

Description

@nullrocket

I'm pretty sure it isn't implemented as is, how feasible is it to add though? I would hope to see a moved list of some kind, I know order of map keys isn't a requirement of json itself, but dart does use an ordered hashmap for its representation of json so its possible. I'm implementing an undo mechanism using diff and it would be helpful to not have the maps items in a different order on reverting.

{
  "a":"value",
  "b": "value"
}


{
"b":"value"
"a":"value"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions