json

package
v0.79.4 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package json JSON 格式的序列化方法

Index

Constants

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

Variables

This section is empty.

Functions

func Marshal

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

func Unmarshal

func Unmarshal(data []byte, 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