Skip to content

Better results comparison view #120

@alechenninger

Description

@alechenninger

It's hard to compare json because it is not tabular data.

We could format it to tabular data by transformation each element to a path and a value. Each row is a doc, each cell is a value, each column is a path:

given 2 docs:

{
  "foo": ["1", "2"],
  "bar": {
    "baz": 1234
  },
  "thing": false,
}
{
  "foo": ["1"],
  "bar": {
    "baz": 456
  },
  "thing": true,
}

table is:

foo[0] foo[1] bar.baz thing
1 "1" "2" 1234 false
2 "1" 456 true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions