push
github
7 of 26 new or added lines in 3 files covered. (26.92%)
69 of 339 relevant lines covered (20.35%)
3.41 hits per line
| 1 |
package main
|
|
| 2 |
|
|
| 3 |
import (
|
|
| 4 |
"fmt"
|
|
| 5 |
|
|
| 6 |
"github.com/yyle88/neatjson/neatjsons"
|
|
| 7 |
) |
|
| 8 |
|
|
|
NEW
|
func main() {
|
× |
|
NEW
|
// Format compact JSON bytes to readable string
|
× |
|
NEW
|
jsonBytes := []byte(`{"name":"test","age":30,"active":true}`) |
× |
|
NEW
|
|
× |
|
NEW
|
result := neatjsons.SxB(jsonBytes) |
× |
|
NEW
|
fmt.Println(result) |
× |
|
NEW
|
} |
× |