package internal

Import Path
	encoding/json/internal (on go.dev)

Dependency Relation
	imports one package, and imported by 5 packages

Involved Source Files internal.go
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
NotForPublicUse is a marker type that an API is for internal use only. It does not perfectly prevent usage of that API, but helps to restrict usage. Anything with this marker is not covered by the Go compatibility agreement. func encoding/json/internal/jsonflags.Bools.JSONOptions(NotForPublicUse) func encoding/json/internal/jsonopts.ByteLimit.JSONOptions(NotForPublicUse) func encoding/json/internal/jsonopts.DepthLimit.JSONOptions(NotForPublicUse) func encoding/json/internal/jsonopts.Indent.JSONOptions(NotForPublicUse) func encoding/json/internal/jsonopts.IndentPrefix.JSONOptions(NotForPublicUse) func encoding/json/internal/jsonopts.Options.JSONOptions(NotForPublicUse) func encoding/json/internal/jsonopts.(*Struct).JSONOptions(NotForPublicUse) func encoding/json.Options.JSONOptions(NotForPublicUse) func encoding/json/jsontext.Options.JSONOptions(NotForPublicUse) func encoding/json/v2.Options.JSONOptions(NotForPublicUse) var AllowInternalUse
ValueError wraps the error with a Go value relevant to the error. This is only used for v1 compatibility purposes. Err error Val any (*ValueError) Error() string (*ValueError) Unwrap() error *ValueError : error
Package-Level Variables (total 9, all are exported)
AllowInternalUse is passed from "json" to "jsontext" to authenticate that the caller can have access to internal functionality.
Sentinel error values internally shared between jsonv1 and jsonv2.
Sentinel error values internally shared between jsonv1 and jsonv2.
Sentinel error values internally shared between jsonv1 and jsonv2.
NewMarshalerError constructs a jsonv1.MarshalerError. It is called after a user-defined Marshal method/function fails.
NewRawNumber returns new(jsonv1.Number).
RawNumberOf returns jsonv1.Number(b).
TransformMarshalError converts a v2 error into a v1 error. It is called only at the top-level of a Marshal function.
TransformUnmarshalError converts a v2 error into a v1 error. It is called only at the top-level of an Unmarshal function.