kubernetes/vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/arshal_default.go

const optimizeCommon

var anyType

var boolType

var stringType

var float64Type

var mapStringAnyType

var sliceAnyType

var bytesType

var emptyStructType

const startDetectingCyclesAfter

type seenPointers

type typedPointer

// visit visits pointer p of type t, reporting an error if seen before.
// If successfully visited, then the caller must eventually call leave.
func (m *seenPointers) visit(v reflect.Value) error {}

func (m *seenPointers) leave(v reflect.Value) {}

func makeDefaultArshaler(t reflect.Type) *arshaler {}

func makeBoolArshaler(t reflect.Type) *arshaler {}

func makeStringArshaler(t reflect.Type) *arshaler {}

var encodeBase16

var encodeBase32

var encodeBase32Hex

var encodeBase64

var encodeBase64URL

var encodedLenBase16

var encodedLenBase32

var encodedLenBase32Hex

var encodedLenBase64

var encodedLenBase64URL

var decodeBase16

var decodeBase32

var decodeBase32Hex

var decodeBase64

var decodeBase64URL

var decodedLenBase16

var decodedLenBase32

var decodedLenBase32Hex

var decodedLenBase64

var decodedLenBase64URL

func makeBytesArshaler(t reflect.Type, fncs *arshaler) *arshaler {}

func makeIntArshaler(t reflect.Type) *arshaler {}

func makeUintArshaler(t reflect.Type) *arshaler {}

func makeFloatArshaler(t reflect.Type) *arshaler {}

func makeMapArshaler(t reflect.Type) *arshaler {}

// mapKeyWithUniqueRepresentation reports whether all possible values of k
// marshal to a different JSON value, and whether all possible JSON values
// that can unmarshal into k unmarshal to different Go values.
// In other words, the representation must be a bijective.
func mapKeyWithUniqueRepresentation(k reflect.Kind, allowInvalidUTF8 bool) bool {}

func makeStructArshaler(t reflect.Type) *arshaler {}

func (va addressableValue) fieldByIndex(index []int, mayAlloc bool) addressableValue {}

func (va addressableValue) indirect(mayAlloc bool) addressableValue {}

func makeSliceArshaler(t reflect.Type) *arshaler {}

func makeArrayArshaler(t reflect.Type) *arshaler {}

func makePointerArshaler(t reflect.Type) *arshaler {}

func makeInterfaceArshaler(t reflect.Type) *arshaler {}

// isAnyType reports wether t is equivalent to the any interface type.
func isAnyType(t reflect.Type) bool {}

func makeInvalidArshaler(t reflect.Type) *arshaler {}

func newInvalidFormatError(action string, t reflect.Type, format string) error {}