Skip to content

Error in README.markdown #381

@mikost

Description

@mikost

version of diffson: 4.1.1

In README.markdown, section "Basic Usage", the result of patch[Try](json1) is shown as:

{
  "d":false,
  "c":"test2",
  "a":6
}

and the text says "... which we can easily verify is the same as json2 modulo reordering of fields".

However, json2 was actually:

{
  "a": 6,
  "c": ["test2", "plop"],
  "d": false
}

which is not the same as the purported patch result (the "c" fields differ).

Metadata

Metadata

Assignees

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