Documentation ¶
Overview ¶
формирование JSON из разного вида данных и выдача текста в поток
Index ¶
- Variables
- func AnyJSON(arrJSON map[string]interface{}) string
- func ArrJSON(arrJSON []interface{}) string
- func CheckFields(fields map[string]*qb.QBField) string
- func Element(value interface{}) string
- func Float32Dimension(arrJSON []float32) string
- func Float64Dimension(arrJSON []float64) string
- func Int32Dimension(arrJSON []int32) string
- func Int64Dimension(arrJSON []int64) string
- func SimpleDimension(arrJSON []interface{}) string
- func SliceJSON(mapJSON []map[string]interface{}) string
- func StreamAnyJSON(qw422016 *qt422016.Writer, arrJSON map[string]interface{})
- func StreamArrJSON(qw422016 *qt422016.Writer, arrJSON []interface{})
- func StreamCheckFields(qw422016 *qt422016.Writer, fields map[string]*qb.QBField)
- func StreamElement(qw422016 *qt422016.Writer, value interface{})
- func StreamFloat32Dimension(qw422016 *qt422016.Writer, arrJSON []float32)
- func StreamFloat64Dimension(qw422016 *qt422016.Writer, arrJSON []float64)
- func StreamInt32Dimension(qw422016 *qt422016.Writer, arrJSON []int32)
- func StreamInt64Dimension(qw422016 *qt422016.Writer, arrJSON []int64)
- func StreamSimpleDimension(qw422016 *qt422016.Writer, arrJSON []interface{})
- func StreamSliceJSON(qw422016 *qt422016.Writer, mapJSON []map[string]interface{})
- func StreamStringDimension(qw422016 *qt422016.Writer, arrJSON []string)
- func StreamStringJSON(qw422016 *qt422016.Writer, arrJSON map[string]string)
- func StreamWrap(w *quicktemplate.Writer, value interface{})
- func StringDimension(arrJSON []string) string
- func StringJSON(arrJSON map[string]string) string
- func WriteAnyJSON(qq422016 qtio422016.Writer, arrJSON map[string]interface{})
- func WriteArrJSON(qq422016 qtio422016.Writer, arrJSON []interface{})
- func WriteCheckFields(qq422016 qtio422016.Writer, fields map[string]*qb.QBField)
- func WriteElement(qq422016 qtio422016.Writer, value interface{})
- func WriteFloat32Dimension(qq422016 qtio422016.Writer, arrJSON []float32)
- func WriteFloat64Dimension(qq422016 qtio422016.Writer, arrJSON []float64)
- func WriteInt32Dimension(qq422016 qtio422016.Writer, arrJSON []int32)
- func WriteInt64Dimension(qq422016 qtio422016.Writer, arrJSON []int64)
- func WriteSimpleDimension(qq422016 qtio422016.Writer, arrJSON []interface{})
- func WriteSliceJSON(qq422016 qtio422016.Writer, mapJSON []map[string]interface{})
- func WriteStringDimension(qq422016 qtio422016.Writer, arrJSON []string)
- func WriteStringJSON(qq422016 qtio422016.Writer, arrJSON map[string]string)
- type FormStructure
- func (thisForm *FormStructure) JSONAnyForm(table qb.QBTable, arrJSON map[string]interface{}) string
- func (thisForm *FormStructure) StreamJSONAnyForm(qw422016 *qt422016.Writer, table qb.QBTable, arrJSON map[string]interface{})
- func (thisForm *FormStructure) WriteJSONAnyForm(qq422016 qtio422016.Writer, table qb.QBTable, arrJSON map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Json = jsoniter.ConfigFastest
Functions ¶
func Float32Dimension ¶ added in v1.0.11512
func Float64Dimension ¶ added in v1.0.11512
func Int32Dimension ¶ added in v1.0.11512
func Int64Dimension ¶ added in v1.0.11512
func SimpleDimension ¶
func SimpleDimension(arrJSON []interface{}) string
func StreamAnyJSON ¶
func StreamArrJSON ¶
func StreamCheckFields ¶
func StreamElement ¶
func StreamFloat32Dimension ¶ added in v1.0.11512
func StreamFloat64Dimension ¶ added in v1.0.11512
func StreamInt32Dimension ¶ added in v1.0.11512
func StreamInt64Dimension ¶ added in v1.0.11512
func StreamSimpleDimension ¶
func StreamSliceJSON ¶
func StreamStringDimension ¶
func StreamStringJSON ¶ added in v1.0.11512
func StreamWrap ¶ added in v1.0.11512
func StreamWrap(w *quicktemplate.Writer, value interface{})
func StringDimension ¶
func StringJSON ¶ added in v1.0.11512
func WriteAnyJSON ¶
func WriteAnyJSON(qq422016 qtio422016.Writer, arrJSON map[string]interface{})
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 WriteFloat32Dimension ¶ added in v1.0.11512
func WriteFloat32Dimension(qq422016 qtio422016.Writer, arrJSON []float32)
func WriteFloat64Dimension ¶ added in v1.0.11512
func WriteFloat64Dimension(qq422016 qtio422016.Writer, arrJSON []float64)
func WriteInt32Dimension ¶ added in v1.0.11512
func WriteInt32Dimension(qq422016 qtio422016.Writer, arrJSON []int32)
func WriteInt64Dimension ¶ added in v1.0.11512
func WriteInt64Dimension(qq422016 qtio422016.Writer, arrJSON []int64)
func WriteSimpleDimension ¶
func WriteSimpleDimension(qq422016 qtio422016.Writer, arrJSON []interface{})
func WriteSliceJSON ¶
func WriteSliceJSON(qq422016 qtio422016.Writer, mapJSON []map[string]interface{})
func WriteStringDimension ¶
func WriteStringDimension(qq422016 qtio422016.Writer, arrJSON []string)
func WriteStringJSON ¶ added in v1.0.11512
func WriteStringJSON(qq422016 qtio422016.Writer, arrJSON map[string]string)
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 map[string]interface{}) string
func (*FormStructure) StreamJSONAnyForm ¶
func (*FormStructure) WriteJSONAnyForm ¶
func (thisForm *FormStructure) WriteJSONAnyForm(qq422016 qtio422016.Writer, table qb.QBTable, arrJSON map[string]interface{})
Click to show internal directories.
Click to hide internal directories.