package xjson import "encoding/json" func MustMarshal(data any) string { b, err := json.Marshal(data) if err != nil { return "" } return string(b) }