nazajson

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Json

type Json struct {
	// contains filtered or unexported fields
}

func New

func New(raw []byte) (Json, error)

func (*Json) Exist

func (j *Json) Exist(path string) bool

判断 json 中某个字段是否存在 @param path 支持多级格式,用句号`.`分隔,比如 log.level

func (*Json) Init

func (j *Json) Init(raw []byte) error

Jump to

Keyboard shortcuts

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