Documentation ¶
Overview ¶
формирование JSON из разного вида данных и выдача текста в поток
Index ¶
- Variables
- func AnyJSON(arrJSON map[string]interface{}) string
- func ByteAsString(b []byte) string
- func Element(value any) string
- func SliceJSON(mapJSON []map[string]interface{}) string
- func StreamAnyJSON(qw422016 *qt422016.Writer, arrJSON map[string]interface{})
- func StreamByteAsString(qw422016 *qt422016.Writer, b []byte)
- func StreamElement(qw422016 *qt422016.Writer, value any)
- func StreamMap[E comparable, T any](w *quicktemplate.Writer, value map[E]T)
- func StreamSlice[T any](w *quicktemplate.Writer, value []T)
- func StreamSliceJSON(qw422016 *qt422016.Writer, mapJSON []map[string]interface{})
- func StreamString(qw422016 *qt422016.Writer, str string)
- func StreamStringJSON(qw422016 *qt422016.Writer, arrJSON map[string]string)
- func StreamWrap(w *quicktemplate.Writer, value any)
- func String(str string) string
- func StringJSON(arrJSON map[string]string) string
- func WriteAnyJSON(qq422016 qtio422016.Writer, arrJSON map[string]interface{})
- func WriteByteAsString(qq422016 qtio422016.Writer, b []byte)
- func WriteElement(qq422016 qtio422016.Writer, value any)
- func WriteSliceJSON(qq422016 qtio422016.Writer, mapJSON []map[string]interface{})
- func WriteString(qq422016 qtio422016.Writer, str string)
- func WriteStringJSON(qq422016 qtio422016.Writer, arrJSON map[string]string)
- type Number
Constants ¶
This section is empty.
Variables ¶
View Source
var Json = jsoniter.ConfigFastest
Functions ¶
func ByteAsString ¶ added in v1.0.11512
func StreamAnyJSON ¶
func StreamByteAsString ¶ added in v1.0.11512
func StreamElement ¶
func StreamMap ¶ added in v1.2.3
func StreamMap[E comparable, T any](w *quicktemplate.Writer, value map[E]T)
func StreamSlice ¶ added in v1.2.3
func StreamSlice[T any](w *quicktemplate.Writer, value []T)
func StreamSliceJSON ¶
func StreamString ¶ added in v1.0.11512
func StreamStringJSON ¶ added in v1.0.11512
func StreamWrap ¶ added in v1.0.11512
func StreamWrap(w *quicktemplate.Writer, value any)
func StringJSON ¶ added in v1.0.11512
func WriteAnyJSON ¶
func WriteAnyJSON(qq422016 qtio422016.Writer, arrJSON map[string]interface{})
func WriteByteAsString ¶ added in v1.0.11512
func WriteByteAsString(qq422016 qtio422016.Writer, b []byte)
func WriteElement ¶
func WriteElement(qq422016 qtio422016.Writer, value any)
func WriteSliceJSON ¶
func WriteSliceJSON(qq422016 qtio422016.Writer, mapJSON []map[string]interface{})
func WriteString ¶ added in v1.0.11512
func WriteString(qq422016 qtio422016.Writer, str string)
func WriteStringJSON ¶ added in v1.0.11512
func WriteStringJSON(qq422016 qtio422016.Writer, arrJSON map[string]string)
Types ¶
Click to show internal directories.
Click to hide internal directories.