Files
lti-api/vendor/github.com/gofiber/fiber/v2/utils/json.go
T
GitLab Deploy Bot ad815b3412 .
2025-10-23 11:40:58 +07:00

10 lines
352 B
Go

package utils
// JSONMarshal returns the JSON encoding of v.
type JSONMarshal func(v interface{}) ([]byte, error)
// JSONUnmarshal parses the JSON-encoded data and stores the result
// in the value pointed to by v. If v is nil or not a pointer,
// Unmarshal returns an InvalidUnmarshalError.
type JSONUnmarshal func(data []byte, v interface{}) error