Skip to content

Commit 6cb665a

Browse files
remove goexperiment.jsonv2 build tag
* remove goexperiment.jsonv2 build tag * replace go:build !goexperiment.jsonv2 with go:build ignore * disable v2_diff_test.go
1 parent 9b824a3 commit 6cb665a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+21
-157
lines changed

decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Represents JSON data structure using native Go types: booleans, floats,
66
// strings, arrays, and maps.
77

8-
//go:build !goexperiment.jsonv2
8+
//go:build ignore
99

1010
package json
1111

decode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json
88

encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
// Package json implements encoding and decoding of JSON as defined in RFC 7159.
88
// The mapping between JSON and Go values is described in the documentation for

encode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json
88

example_marshaling_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json_test
88

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json_test
88

example_text_marshaling_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json_test
88

fold.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json
88

fold_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json
88

fuzz_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !goexperiment.jsonv2
5+
//go:build ignore
66

77
package json
88

0 commit comments

Comments
 (0)