DiffOperation

Basic class for all diff operations

Constructors

this
this(string path)
Undocumented in source.
this
this(JsonPointer path)
Undocumented in source.

Members

Aliases

DataRange
alias DataRange = InputRange!(Tuple!(string, const JsonItem))
Undocumented in source.

Functions

applyTo
bool applyTo(JsonItem document)

Apply this operation to document

applyToPtr
bool applyToPtr(JsonItem* document)

Apply this operation to document by pointer

toJson
JsonItem toJson()

Convert to Json element

toJsonString
string toJsonString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

op
string op [@property getter]

Operation name

Static functions

error
bool error(string errorMessage)

Return error and store error message

Static variables

lastError
string lastError;

Error message for last failed operation

Variables

path
JsonPointer path;

Path of element to affect

Meta