Skip to content

Is there any way to ignore array order when diffing? #60

@sebasijan

Description

@sebasijan

Say I create a diff for these 2 arrays

var a1 = @"
{
    "items": [
        "one",
        "two"
}";

var a2 = @"
{
    "items": [
        "two",
        "one"
}";

Is there some way of causing the diff to recognise them as the same array, since they only differ in the items' order?

I am using Simple mode for Array diffing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions