json

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 1 Imported by: 1

README

Json library

Go Report Card codecov

Candidate functions :

Func Name Prototype Description Comments
Marshal Marshal(content map[string]any | []map[string]any) (string, error) {} Returns the JSON encoding of a map N/A
Unmarshal Unmarshal(content string) (map[string]any | []map[string]any, error) {} Returns the map representation of the JSON N/A

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal[JsonType map[string]any | []map[string]any](content JsonType) (string, error)

Marshal returns the JSON encoding of a map

func Unmarshal

func Unmarshal(content string) (any, error)

Unmarshal returns the map representation of the JSON

Types

This section is empty.

Jump to

Keyboard shortcuts

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