io

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadCsv

func ReadCsv(reader io.Reader, conf CsvConfig) (map[string]interface{}, []string, error)

func UnmarshalJson

func UnmarshalJson(r io.Reader) (map[string]interface{}, error)

UnmarshalJson transforms JSON containing data records or columns into a map of columns that can be used to create a QFrame.

Types

type CsvConfig

type CsvConfig struct {
	EmptyNull        bool
	IgnoreEmptyLines bool
	Delimiter        byte
	Types            map[string]types.DataType
	EnumVals         map[string][]string
}

type JsonColumns

type JsonColumns map[string]json.RawMessage

type JsonRecords

type JsonRecords []map[string]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL