1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-07 01:31:54 +00:00

📝 docs: fix wrong JSON docs (#2554)

This commit is contained in:
M. Efe Çetin 2023-07-26 14:27:45 +03:00 committed by GitHub
parent 3e5743bcac
commit e91b02b345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -709,7 +709,7 @@ app.Get("/", func(c *fiber.Ctx) error {
## JSON
Converts any **interface** or **string** to JSON using the [goccy/go-json](https://github.com/goccy/go-json) package.
Converts any **interface** or **string** to JSON using the [encoding/json](https://pkg.go.dev/encoding/json) package.
:::info
JSON also sets the content header to **application/json**.