json

package
v0.94.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package json JSON 格式的序列化方法

Index

Constants

View Source
const (
	Mimetype        = header.JSON
	ProblemMimetype = "application/problem+json"
)

Variables

This section is empty.

Functions

func Marshal

func Marshal(_ *web.Context, v any) ([]byte, error)

func Unmarshal

func Unmarshal(r io.Reader, v any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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