Index
Modules:
jsonpatch
,
jsonpatch/jsonpointer
.
API symbols
`$`:
jsonpointer: `$`(p: JsonPointer): string
`%`:
jsonpatch: `%`(patch: JsonPatch): JsonNode
jsonpatch: `%`(op: Operation): JsonNode
jsonpointer: `%`(p: JsonPointer): JsonNode
`/`:
jsonpointer: `/`(p1, p2: JsonPointer): JsonPointer
jsonpointer: `/`(p1: JsonPointer; p2: string): JsonPointer
AddOperation:
jsonpatch: AddOperation
CopyOperation:
jsonpatch: CopyOperation
diff:
jsonpatch: diff(src, dst: JsonNode): JsonPatch
initJsonPatch:
jsonpatch: initJsonPatch(operations: seq[Operation]): JsonPatch
jsonpatch: initJsonPatch(operations: varargs[Operation]): JsonPatch
isRoot:
jsonpointer: isRoot(p: JsonPointer): bool
JsonContainerKind:
jsonpointer: JsonContainerKind
JsonPatch:
jsonpatch: JsonPatch
JsonPatchError:
jsonpatch: JsonPatchError
JsonPointer:
jsonpointer: JsonPointer
JsonPointerError:
jsonpointer: JsonPointerError
JsonPointerKey:
jsonpointer: JsonPointerKey
leafSegment:
jsonpointer: leafSegment(p: JsonPointer): Option[string]
len:
jsonpatch: len(p: JsonPatch): Natural
MoveOperation:
jsonpatch: MoveOperation
newAddOperation:
jsonpatch: newAddOperation(path: JsonPointer; value: JsonNode): AddOperation
newCopyOperation:
jsonpatch: newCopyOperation(path: JsonPointer; fromPath: JsonPointer): CopyOperation
newMoveOperation:
jsonpatch: newMoveOperation(path: JsonPointer; fromPath: JsonPointer): MoveOperation
newRemoveOperation:
jsonpatch: newRemoveOperation(path: JsonPointer): RemoveOperation
newReplaceOperation:
jsonpatch: newReplaceOperation(path: JsonPointer; value: JsonNode): ReplaceOperation
newTestOperation:
jsonpatch: newTestOperation(path: JsonPointer; value: JsonNode): TestOperation
Operation:
jsonpatch: Operation
OperationKind:
jsonpatch: OperationKind
parent:
jsonpointer: parent(jsonPointer: JsonPointer): Option[JsonPointer]
parseChildKey:
jsonpointer: parseChildKey(node: JsonNode; segment: string): JsonPointerKey
patch:
jsonpatch: patch(doc: JsonNode; patch: JsonPatch): JsonNode
jsonpatch: patch(doc: JsonNode; op: Operation): JsonNode
jsonpatch: patch(doc: JsonNode; operations: seq[Operation]): JsonNode
RemoveOperation:
jsonpatch: RemoveOperation
ReplaceOperation:
jsonpatch: ReplaceOperation
resolve:
jsonpointer: resolve(root: JsonNode; jsonPointer: JsonPointer): Option[JsonNode]
jsonpointer: resolve(root: JsonNode; jsonPointer: string): Option[JsonNode]
TestOperation:
jsonpatch: TestOperation
to:
jsonpatch: to[T: Operation](node: JsonNode; t: typedesc[T]): T
jsonpatch: to[T: JsonPatch](node: JsonNode; t: typedesc[T]): T
jsonpointer: to[T: JsonPointer](node: JsonNode; t: typedesc[T]): T
toJsonPointer:
jsonpointer: toJsonPointer(jsonPointer: string): JsonPointer