vjson

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertFileToStruct

func ConvertFileToStruct[T any](jsonFile string, obj *T) (err error)

func Decode

func Decode(data string) (v map[string]any, err error)

Decode String => Object

func Encode

func Encode(v any) (data string, err error)

Encode Object => String

func Parse

func Parse(json string) gjson.Result

Parse parses the json and returns a result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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