json

package
v1.0.317 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

формирование JSON из разного вида данных и выдача текста в поток

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyJSON

func AnyJSON(arrJSON MultiDimension) string

func ArrJSON

func ArrJSON(arrJSON []interface{}) string

func CheckFields

func CheckFields(fields map[string]*qb.QBField) string

func Element

func Element(value interface{}) string

func SimpleDimension

func SimpleDimension(arrJSON simpleDimension) string

func SliceJSON

func SliceJSON(mapJSON MapMultiDimension) string

func StreamAnyJSON

func StreamAnyJSON(qw422016 *qt422016.Writer, arrJSON MultiDimension)

func StreamArrJSON

func StreamArrJSON(qw422016 *qt422016.Writer, arrJSON []interface{})

func StreamCheckFields

func StreamCheckFields(qw422016 *qt422016.Writer, fields map[string]*qb.QBField)

func StreamElement

func StreamElement(qw422016 *qt422016.Writer, value interface{})

func StreamSimpleDimension

func StreamSimpleDimension(qw422016 *qt422016.Writer, arrJSON simpleDimension)

func StreamSliceJSON

func StreamSliceJSON(qw422016 *qt422016.Writer, mapJSON MapMultiDimension)

func StreamStringDimension

func StreamStringDimension(qw422016 *qt422016.Writer, arrJSON stringDimension)

func StringDimension

func StringDimension(arrJSON stringDimension) string

func WriteAnyJSON

func WriteAnyJSON(qq422016 qtio422016.Writer, arrJSON MultiDimension)

func WriteArrJSON

func WriteArrJSON(qq422016 qtio422016.Writer, arrJSON []interface{})

func WriteCheckFields

func WriteCheckFields(qq422016 qtio422016.Writer, fields map[string]*qb.QBField)

func WriteElement

func WriteElement(qq422016 qtio422016.Writer, value interface{})

func WriteSimpleDimension

func WriteSimpleDimension(qq422016 qtio422016.Writer, arrJSON simpleDimension)

func WriteSliceJSON

func WriteSliceJSON(qq422016 qtio422016.Writer, mapJSON MapMultiDimension)

func WriteStringDimension

func WriteStringDimension(qq422016 qtio422016.Writer, arrJSON stringDimension)

Types

type FormStructure

type FormStructure struct {
	Action   string
	ClassCSS string
	IdCSS    string
	Name     string
	Events   map[string]string
}

func (*FormStructure) JSONAnyForm

func (thisForm *FormStructure) JSONAnyForm(table qb.QBTable, arrJSON MultiDimension) string

func (*FormStructure) StreamJSONAnyForm

func (thisForm *FormStructure) StreamJSONAnyForm(qw422016 *qt422016.Writer, table qb.QBTable, arrJSON MultiDimension)

func (*FormStructure) WriteJSONAnyForm

func (thisForm *FormStructure) WriteJSONAnyForm(qq422016 qtio422016.Writer, table qb.QBTable, arrJSON MultiDimension)

type MapMultiDimension

type MapMultiDimension []map[string]interface{}

type MultiDimension

type MultiDimension map[string]interface{}

Jump to

Keyboard shortcuts

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