Documentation ¶ Overview ¶ Package ejson Description: 用于处理json的工具 Index ¶ type EJson func NewEJson() *EJson func (e *EJson) E加载(字符串 string) error func (e *EJson) E取值(pathKey string) (any, error) func (e *EJson) E导出为JSON() (string, error) func (e *EJson) E置值(pathKey string, value any) error type EJsonI 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) } Source Files ¶ View all Source files ejson.go Click to show internal directories. Click to hide internal directories.