ejson

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package ejson Description: 用于处理json的工具

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EJson

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

func NewEJson

func NewEJson() *EJson

func (*EJson) E加载

func (e *EJson) E加载(字符串 string) error

func (*EJson) E取值

func (e *EJson) E取值(pathKey string) (any, error)

func (*EJson) E导出为JSON

func (e *EJson) E导出为JSON() (string, error)

func (*EJson) E置值

func (e *EJson) E置值(pathKey string, value any) error

type EJsonI

type EJsonI interface {
	E加载(字符串 string) error
	E导出为JSON() (string, error)
	E置值(pathKey string, value any) error
	E取值(pathKey string) (any, error)
}

Jump to

Keyboard shortcuts

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