diff --git a/nkatago/engine_analysis.go b/nkatago/engine_analysis.go index 40885b0..3f39985 100644 --- a/nkatago/engine_analysis.go +++ b/nkatago/engine_analysis.go @@ -4,7 +4,7 @@ import ( "git.noahlan.cn/noahlan/ntool-biz/nkatago/req" "git.noahlan.cn/noahlan/ntool-biz/nkatago/resp" "git.noahlan.cn/noahlan/ntool/ndef" - "git.noahlan.cn/noahlan/ntool/ngo/codec" + "git.noahlan.cn/noahlan/ntool/njson" "git.noahlan.cn/noahlan/ntool/nrandom" "git.noahlan.cn/noahlan/ntool/nstr" "git.noahlan.cn/noahlan/ntool/nsys/cmdn" @@ -39,7 +39,7 @@ func NewAnalysisEngine(name string, args ...string) (*AnalysisEngine, error) { engine := &AnalysisEngine{KatagoEngine: &KatagoEngine{ Processor: cmdn.NewProcessor( false, - cmdn.WithSerializer(codec.NewJsonSerializer()), + cmdn.WithSerializer(njson.NewJsonSerializer()), cmdn.WithStartupDecidedFunc(analStartupDecidedFunc), cmdn.WithEndLineDecidedFunc(analEndLineDecidedFunc), cmdn.WithReadIDFunc(analReadIDFunc),