aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.dev>2022-11-16 21:35:48 +0300
committerNeonXP <i@neonxp.dev>2022-11-16 21:35:48 +0300
commiteb26d597c6d526f84077afdc141b0a5d585c7da3 (patch)
treea07e5e4c79e3217afb87877287315bb8590b989f /README.md
parentc730afe0f889587630789c4fa38267d1edf465f2 (diff)
Utility methodsv0.0.1
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index fb99e4b..72d4d2b 100644
--- a/README.md
+++ b/README.md
@@ -62,4 +62,19 @@ func (n *Node) Value() any
// MarshalJSON to []byte
func (n *Node) MarshalJSON() ([]byte, error)
+
+// Merge two object or array nodes
+func (n *Node) Merge(node *Node) error
+
+// Len returns length of object or array nodes
+func (n *Node) Len() (int, error)
+
+// Compare current node with another node
+func (n *Node) Compare(op Operand, node *Node) bool
+
+// Remove by key from object
+func (n *Node) Remove(key string) error
+
+// RemoveIndex from array
+func (n *Node) RemoveIndex(idx int) error
```