package
1.0.4
Repository: https://github.com/wentaojin/tidba.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAdded returns a new Added.
NewArray returns an Array.
No description provided by the author
NewDeleted returns a Deleted.
No description provided by the author
NewDiff returns new Differ with default configuration.
NewModified returns a Modified.
No description provided by the author
NewObject returns an Object.
NewTextDiff returns.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
Indicates the same json value on both sides.

# Structs

An Added represents a new added field of an object or an array.
An Array is a Delta that represents an array of JSON.
No description provided by the author
No description provided by the author
No description provided by the author
A Delted represents deleted field or index of an Object or an Array.
No description provided by the author
A Differ conmapres JSON objects and apply patches.
A Modified represents a field whose value is changed.
A Moved represents field that is moved, which means the index or name is changed.
An Object is a Delta that represents an object of JSON.
A TextDiff represents a Modified with TextDiff between the old and the new values.

# Interfaces

A Delta represents an atomic difference between two JSON objects.
A Diff holds deltas generated by a Differ.
A Position represents the position of a Delta in an object or an array.
A PreDelta is a Delta that has a position of the right side JSON object.
A PreDelta is a Delta that has a position of the left side JSON object.

# Type aliases

A Index is a Position with an int value, which means the Delta is in an Array.
A Name is a Postition with a string, which means the delta is in an object.