Documentation ¶
Index ¶
- func GetRootData(jsonString string, rootSelector string) (string, error)
- func QueryJSONUsingSQLite3(jsonString string, query string, rootSelector string) (string, error)
- func ToFrame(jsonString string, options FramerOptions) (frame *data.Frame, err error)
- func ToFrames(jsonString string, options FramerOptions) (frames []*data.Frame, err error)
- type ColumnSelector
- type FrameFormat
- type FramerOptions
- type FramerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryJSONUsingSQLite3 ¶
Types ¶
type ColumnSelector ¶
type FrameFormat ¶ added in v0.2.2
type FrameFormat string
const ( FrameFormatTable FrameFormat = "table" FrameFormatTimeSeries FrameFormat = "timeseries" )
type FramerOptions ¶ added in v0.0.2
type FramerOptions struct { FramerType FramerType // `gjson` | `sqlite3` SQLite3Query string FrameName string RootSelector string Columns []ColumnSelector OverrideColumns []ColumnSelector FrameFormat FrameFormat }
type FramerType ¶
type FramerType string
const ( FramerTypeGJSON FramerType = "gjson" FramerTypeSQLite3 FramerType = "sqlite3" )
Click to show internal directories.
Click to hide internal directories.