Create a new JSONDeltaImpl
constructor function for creating JSON objects
the original JSON data
the modified JSON data
the binary delta between the original and the modified data.
A constructor function for creating JSON objects
The parts of the second JSON value not found in the first JSON value.
The parts of the first JSON value not found in the second JSON value.
Return a JSON object from a part of a BufferSlice. The buffer is copied before being passed to the JSON constructor.
the buffer slice to construct the JSON from
the offset in the buffer slice
the number of bytes to use from the buffer slice
a JSON object constructed from the part of the buffer slice
Returns whether the two JSON values used to create this instance are different.
true if this delta has an effect
Returns the parts of the second JSON value not found in the first JSON value.
the removed parts. The JSON Pointer references used for the keys are relative to second JSON value.
Return a JSON object from a part of a BufferSlice.
the buffer slice to construct the JSON from
the offset in the buffer slice
the number of bytes to use from the buffer slice
a JSON object constructed from the part of the buffer slice
Returns the parts of the first JSON value not found in the second JSON value.
the removed parts. The JSON Pointer references used for the keys are relative to first JSON value.
Convert the JSON delta to a string
a string representation of the JSON delta
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
Implementation of JSONDelta.