jsonx

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseJSON

func ParseJSON(jsonData []byte) (map[string]interface{}, error)

ParseJSON parses the JSON data into a map

func ParseJSONIntoStruct

func ParseJSONIntoStruct[T json.Unmarshaler](jsonData []byte, target T) (T, error)

ParseJSONIntoStruct parses the JSON data into a map target needs to be a pointer to a struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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