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 (only one)
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
Package-Level Variables (total 8)
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.
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 a Unmarshal function.
![]() |
The pages are generated with Golds v0.7.7-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |