json-joy
Preparing search index...
json-patch
OpType
Class OpType
Hierarchy
AbstractPredicateOp
<
"type"
>
OpType
Index
Constructors
constructor
Properties
from?
path
value
Methods
apply
code
encode
op
test
to
Compact
to
Json
Constructors
constructor
new
OpType
(
path
:
Path
,
value
:
JsonPatchTypes
)
:
OpType
Parameters
path
:
Path
value
:
JsonPatchTypes
Returns
OpType
Properties
Optional
Readonly
from
from
?:
Path
Readonly
path
path
:
Path
Readonly
value
value
:
JsonPatchTypes
Methods
apply
apply
(
doc
:
unknown
)
:
{
doc
:
unknown
}
Parameters
doc
:
unknown
Returns
{
doc
:
unknown
}
code
code
()
:
OPCODE
Returns
OPCODE
encode
encode
(
encoder
:
IMessagePackEncoder
,
parent
?:
AbstractOp
<
OpType
>
)
:
void
Parameters
encoder
:
IMessagePackEncoder
Optional
parent
:
AbstractOp
<
OpType
>
Returns
void
op
op
()
:
"type"
Returns
"type"
test
test
(
doc
:
unknown
)
:
boolean
Parameters
doc
:
unknown
Returns
boolean
to
Compact
toCompact
(
parent
:
undefined
|
AbstractOp
<
OpType
>
,
verbose
:
boolean
,
)
:
CompactTypeOp
Parameters
parent
:
undefined
|
AbstractOp
<
OpType
>
verbose
:
boolean
Returns
CompactTypeOp
to
Json
toJson
(
parent
?:
AbstractOp
<
OpType
>
)
:
OperationType
Parameters
Optional
parent
:
AbstractOp
<
OpType
>
Returns
OperationType
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
from
path
value
Methods
apply
code
encode
op
test
to
Compact
to
Json
json-joy
Loading...