package json
import "github.com/gabriel-vasile/mimetype/internal/json"
Package json provides a JSON value parser state machine. This package is almost entirely copied from the Go stdlib. Changes made to it permit users of the package to tell if some slice of bytes is a valid beginning of a json string.
Index ¶
Functions ¶
func Scan ¶
Scan returns the number of bytes scanned and if there was any error in trying to reach the end of data.
Source Files ¶
- Version
- v1.4.8 (latest)
- Published
- Jan 4, 2025
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 1 week ago –
Tools for package owners.