go/src/log/slog/json_handler_test.go

func TestJSONHandler(t *testing.T) {}

type jsonMarshaler

func (j jsonMarshaler) String() string {}

func (j jsonMarshaler) MarshalJSON() ([]byte, error) {}

type jsonMarshalerError

func (jsonMarshalerError) Error() string {}

func TestAppendJSONValue(t *testing.T) {}

func marshalJSON(x any) (string, error) {}

func TestJSONAppendAttrValueSpecial(t *testing.T) {}

func jsonValueString(v Value) string {}

func BenchmarkJSONHandler(b *testing.B) {}

func BenchmarkPreformatting(b *testing.B) {}

func BenchmarkJSONEncoding(b *testing.B) {}