import "golang.org/x/benchmarks/json"
        
JSON benchmark marshals and unmarshals ~2MB json string with a tree-like object hierarchy, in 4*GOMAXPROCS goroutines.
type Node struct {
    Name     string  `json:"name"`
    Kids     []*Node `json:"kids"`
    CLWeight float64 `json:"cl_weight"`
    Touches  int     `json:"touches"`
    MinT     int64   `json:"min_t"`
    MaxT     int64   `json:"max_t"`
    MeanT    int64   `json:"mean_t"`
}Package json imports 7 packages (graph) and is imported by 1 packages. Updated 2 months ago. Refresh now. Tools for package owners.