func Marshal(v interface{}) (string, error) {
	resByte, err := json.Marshal(v)
	if err != nil {
		return "", err
	} else {
		return string(resByte), nil
	}
}
Marshal marshals the value as string
package _json
import (
	"encoding/json"
)
func GetJsonString(obj interface{}) string {
	resByte, err := json.Marshal(obj)
	if err != nil {
		return ""
	}
	return string(resByte)
}