refactor: replace json with json-iterator/go to improve performance

This commit is contained in:
debugtalk
2022-03-04 17:39:15 +08:00
parent 54431f205b
commit ce4c3d414e
12 changed files with 37 additions and 13 deletions

View File

@@ -2,13 +2,14 @@ package hrp
import (
"bytes"
"encoding/json"
"fmt"
"os"
"path/filepath"
"github.com/rs/zerolog/log"
"gopkg.in/yaml.v3"
"github.com/httprunner/hrp/internal/json"
)
func loadFromJSON(path string) (*TCase, error) {