json

package
v0.0.1-20240408-0001 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(v string, to interface{}) error

func Encode

func Encode(v interface{}) (string, error)

func EncodeBeautify

func EncodeBeautify(v interface{}) (string, error)

func IsJSON

func IsJSON(str string) bool

func IsKeyExists

func IsKeyExists(json string, keyPath string) bool

func IsValid

func IsValid(json string) bool

func IsValueExists

func IsValueExists(json string, keyPath string, value string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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