jsonutil

package
v0.194.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DropElement

func DropElement(extension []byte, elementNames ...string) ([]byte, error)

Drops element from json byte array - Doesn't support drop element from json list - Keys in the path can skip levels - First found element will be removed

func FindElement added in v0.172.0

func FindElement(extension []byte, elementNames ...string) (bool, int64, int64, error)

Finds element in json byte array with any level of nesting

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL