func FrameMetaFromJSON(jsonStr string) (*FrameMeta, error) {
	var m FrameMeta
	err := json.Unmarshal([]byte(jsonStr), &m)
	if err != nil {
		return nil, err
	}
	return &m, nil
}
FrameMetaFromJSON creates a QueryResultMeta from a json string
package data
import (
	"encoding/json"
	"fmt"
)
type FrameMeta struct {
	Type FrameType `json:"type,omitempty"`
	Path string `json:"path,omitempty"`
	PathSeparator string `json:"pathSeparator,omitempty"`
	Custom interface{} `json:"custom,omitempty"`
	Stats []QueryStat `json:"stats,omitempty"`
	Notices []Notice `json:"notices,omitempty"`
	Channel string `json:"channel,omitempty"`
	PreferredVisualization VisType `json:"preferredVisualisationType,omitempty"`
	ExecutedQueryString string `json:"executedQueryString,omitempty"`
}
const (
	VisTypeGraph VisType = "graph"
	VisTypeTable = "table"
	VisTypeLogs = "logs"
	VisTypeTrace = "trace"
	VisTypeNodeGraph = "nodeGraph"
)
type VisType string