forked from mirror/go-json
Omit map example because currently cannot sort map by keys
This commit is contained in:
parent
a75d05a74f
commit
b7bb4362cb
|
@ -274,6 +274,7 @@ func ExampleIndent() {
|
||||||
// =]
|
// =]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
func ExampleMarshalIndent() {
|
func ExampleMarshalIndent() {
|
||||||
data := map[string]int{
|
data := map[string]int{
|
||||||
"a": 1,
|
"a": 1,
|
||||||
|
@ -292,6 +293,7 @@ func ExampleMarshalIndent() {
|
||||||
// <prefix><indent>"b": 2
|
// <prefix><indent>"b": 2
|
||||||
// <prefix>}
|
// <prefix>}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
func ExampleValid() {
|
func ExampleValid() {
|
||||||
goodJSON := `{"example": 1}`
|
goodJSON := `{"example": 1}`
|
||||||
|
|
Loading…
Reference in New Issue