jsonutil

package
v0.275.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 4 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

type StringInt added in v0.246.0

type StringInt int

func (*StringInt) UnmarshalJSON added in v0.246.0

func (st *StringInt) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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