Documentation ¶
Index ¶
- func AppendListBool(enc *Encoder, jsonKey string, val []bool, omitempty, quote bool)
- func AppendListBytes(enc *Encoder, jsonKey string, val [][]byte, omitempty bool) error
- func AppendListEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val []T, omitempty, quote bool)
- func AppendListEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val []T, omitempty bool)
- func AppendListF32(enc *Encoder, jsonKey string, val []float32, omitempty, quote bool)
- func AppendListF64(enc *Encoder, jsonKey string, val []float64, omitempty, quote bool)
- func AppendListI32(enc *Encoder, jsonKey string, val []int32, omitempty, quote bool)
- func AppendListI64(enc *Encoder, jsonKey string, val []int64, omitempty, quote bool)
- func AppendListMessage[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val []T, omitempty bool) error
- func AppendListStr(enc *Encoder, jsonKey string, val []string, omitempty bool)
- func AppendListU32(enc *Encoder, jsonKey string, val []uint32, omitempty, quote bool)
- func AppendListU64(enc *Encoder, jsonKey string, val []uint64, omitempty, quote bool)
- func AppendListWKTAnyObject(enc *Encoder, jsonKey string, val []*anypb.Any, omitempty bool) error
- func AppendListWKTAnyProto(enc *Encoder, jsonKey string, val []*anypb.Any, omitempty bool) error
- func AppendListWKTDurHour(enc *Encoder, jsonKey string, val []*durationpb.Duration, ...)
- func AppendListWKTDurMicro(enc *Encoder, jsonKey string, val []*durationpb.Duration, ...)
- func AppendListWKTDurMilli(enc *Encoder, jsonKey string, val []*durationpb.Duration, ...)
- func AppendListWKTDurMinute(enc *Encoder, jsonKey string, val []*durationpb.Duration, ...)
- func AppendListWKTDurNano(enc *Encoder, jsonKey string, val []*durationpb.Duration, ...)
- func AppendListWKTDurObject(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty bool) error
- func AppendListWKTDurSecond(enc *Encoder, jsonKey string, val []*durationpb.Duration, ...)
- func AppendListWKTDurTimeStr(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty bool)
- func AppendListWKTTsLayout(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty bool, ...)
- func AppendListWKTTsObject(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty bool) error
- func AppendListWKTTsUnixMicro(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, ...)
- func AppendListWKTTsUnixMilli(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, ...)
- func AppendListWKTTsUnixNano(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, ...)
- func AppendListWKTTsUnixSec(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, ...)
- func AppendMapBoolBool(enc *Encoder, jsonKey string, val map[bool]bool, ...)
- func AppendMapBoolBytes(enc *Encoder, jsonKey string, val map[bool][]byte, omitempty, quoteKey bool) error
- func AppendMapBoolEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[bool]T, ...)
- func AppendMapBoolEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[bool]T, omitempty, quoteKey bool)
- func AppendMapBoolF32(enc *Encoder, jsonKey string, val map[bool]float32, ...)
- func AppendMapBoolF64(enc *Encoder, jsonKey string, val map[bool]float64, ...)
- func AppendMapBoolI32(enc *Encoder, jsonKey string, val map[bool]int32, ...)
- func AppendMapBoolI64(enc *Encoder, jsonKey string, val map[bool]int64, ...)
- func AppendMapBoolMessage[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[bool]T, omitempty, quoteKey bool) error
- func AppendMapBoolStr(enc *Encoder, jsonKey string, val map[bool]string, omitempty, quoteKey bool)
- func AppendMapBoolU32(enc *Encoder, jsonKey string, val map[bool]uint32, ...)
- func AppendMapBoolU64(enc *Encoder, jsonKey string, val map[bool]uint64, ...)
- func AppendMapBoolWKTAnyObject(enc *Encoder, jsonKey string, val map[bool]*anypb.Any, ...) error
- func AppendMapBoolWKTAnyProto(enc *Encoder, jsonKey string, val map[bool]*anypb.Any, ...) error
- func AppendMapBoolWKTDurHour(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTDurMicro(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTDurMilli(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTDurMinute(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTDurNano(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTDurObject(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...) error
- func AppendMapBoolWKTDurSecond(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTDurTimeStr(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, ...)
- func AppendMapBoolWKTTsLayout(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, ...)
- func AppendMapBoolWKTTsObject(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, ...) error
- func AppendMapBoolWKTTsUnixMicro(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, ...)
- func AppendMapBoolWKTTsUnixMilli(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, ...)
- func AppendMapBoolWKTTsUnixNano(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, ...)
- func AppendMapBoolWKTTsUnixSec(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, ...)
- func AppendMapI32Bool(enc *Encoder, jsonKey string, val map[int32]bool, ...)
- func AppendMapI32Bytes(enc *Encoder, jsonKey string, val map[int32][]byte, omitempty, quoteKey bool) error
- func AppendMapI32EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int32]T, ...)
- func AppendMapI32EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int32]T, omitempty, quoteKey bool)
- func AppendMapI32F32(enc *Encoder, jsonKey string, val map[int32]float32, ...)
- func AppendMapI32F64(enc *Encoder, jsonKey string, val map[int32]float64, ...)
- func AppendMapI32I32(enc *Encoder, jsonKey string, val map[int32]int32, ...)
- func AppendMapI32I64(enc *Encoder, jsonKey string, val map[int32]int64, ...)
- func AppendMapI32Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[int32]T, omitempty, quoteKey bool) error
- func AppendMapI32Str(enc *Encoder, jsonKey string, val map[int32]string, omitempty, quoteKey bool)
- func AppendMapI32U32(enc *Encoder, jsonKey string, val map[int32]uint32, ...)
- func AppendMapI32U64(enc *Encoder, jsonKey string, val map[int32]uint64, ...)
- func AppendMapI32WKTAnyObject(enc *Encoder, jsonKey string, val map[int32]*anypb.Any, ...) error
- func AppendMapI32WKTAnyProto(enc *Encoder, jsonKey string, val map[int32]*anypb.Any, ...) error
- func AppendMapI32WKTDurHour(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTDurMicro(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTDurMilli(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTDurMinute(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTDurNano(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTDurObject(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...) error
- func AppendMapI32WKTDurSecond(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTDurTimeStr(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, ...)
- func AppendMapI32WKTTsLayout(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, ...)
- func AppendMapI32WKTTsObject(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, ...) error
- func AppendMapI32WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, ...)
- func AppendMapI32WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, ...)
- func AppendMapI32WKTTsUnixNano(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, ...)
- func AppendMapI32WKTTsUnixSec(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, ...)
- func AppendMapI64Bool(enc *Encoder, jsonKey string, val map[int64]bool, ...)
- func AppendMapI64Bytes(enc *Encoder, jsonKey string, val map[int64][]byte, omitempty, quoteKey bool) error
- func AppendMapI64EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int64]T, ...)
- func AppendMapI64EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int64]T, omitempty, quoteKey bool)
- func AppendMapI64F32(enc *Encoder, jsonKey string, val map[int64]float32, ...)
- func AppendMapI64F64(enc *Encoder, jsonKey string, val map[int64]float64, ...)
- func AppendMapI64I32(enc *Encoder, jsonKey string, val map[int64]int32, ...)
- func AppendMapI64I64(enc *Encoder, jsonKey string, val map[int64]int64, ...)
- func AppendMapI64Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[int64]T, omitempty, quoteKey bool) error
- func AppendMapI64Str(enc *Encoder, jsonKey string, val map[int64]string, omitempty, quoteKey bool)
- func AppendMapI64U32(enc *Encoder, jsonKey string, val map[int64]uint32, ...)
- func AppendMapI64U64(enc *Encoder, jsonKey string, val map[int64]uint64, ...)
- func AppendMapI64WKTAnyObject(enc *Encoder, jsonKey string, val map[int64]*anypb.Any, ...) error
- func AppendMapI64WKTAnyProto(enc *Encoder, jsonKey string, val map[int64]*anypb.Any, ...) error
- func AppendMapI64WKTDurHour(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTDurMicro(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTDurMilli(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTDurMinute(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTDurNano(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTDurObject(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...) error
- func AppendMapI64WKTDurSecond(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTDurTimeStr(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, ...)
- func AppendMapI64WKTTsLayout(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, ...)
- func AppendMapI64WKTTsObject(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, ...) error
- func AppendMapI64WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, ...)
- func AppendMapI64WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, ...)
- func AppendMapI64WKTTsUnixNano(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, ...)
- func AppendMapI64WKTTsUnixSec(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, ...)
- func AppendMapStrBool(enc *Encoder, jsonKey string, val map[string]bool, omitempty, quoteVal bool)
- func AppendMapStrBytes(enc *Encoder, jsonKey string, val map[string][]byte, omitempty bool) error
- func AppendMapStrEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[string]T, omitempty, quoteVal bool)
- func AppendMapStrEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[string]T, omitempty bool)
- func AppendMapStrF32(enc *Encoder, jsonKey string, val map[string]float32, omitempty, quoteVal bool)
- func AppendMapStrF64(enc *Encoder, jsonKey string, val map[string]float64, omitempty, quoteVal bool)
- func AppendMapStrI32(enc *Encoder, jsonKey string, val map[string]int32, omitempty, quoteVal bool)
- func AppendMapStrI64(enc *Encoder, jsonKey string, val map[string]int64, omitempty, quoteVal bool)
- func AppendMapStrMessage[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[string]T, omitempty bool) error
- func AppendMapStrStr(enc *Encoder, jsonKey string, val map[string]string, omitempty bool)
- func AppendMapStrU32(enc *Encoder, jsonKey string, val map[string]uint32, omitempty, quoteVal bool)
- func AppendMapStrU64(enc *Encoder, jsonKey string, val map[string]uint64, omitempty, quoteVal bool)
- func AppendMapStrWKTAnyObject(enc *Encoder, jsonKey string, val map[string]*anypb.Any, omitempty bool) error
- func AppendMapStrWKTAnyProto(enc *Encoder, jsonKey string, val map[string]*anypb.Any, omitempty bool) error
- func AppendMapStrWKTDurHour(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTDurMicro(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTDurMilli(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTDurMinute(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTDurNano(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTDurObject(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...) error
- func AppendMapStrWKTDurSecond(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTDurTimeStr(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, ...)
- func AppendMapStrWKTTsLayout(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, ...)
- func AppendMapStrWKTTsObject(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, ...) error
- func AppendMapStrWKTTsUnixMicro(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, ...)
- func AppendMapStrWKTTsUnixMilli(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, ...)
- func AppendMapStrWKTTsUnixNano(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, ...)
- func AppendMapStrWKTTsUnixSec(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, ...)
- func AppendMapU32Bool(enc *Encoder, jsonKey string, val map[uint32]bool, ...)
- func AppendMapU32Bytes(enc *Encoder, jsonKey string, val map[uint32][]byte, omitempty, quoteKey bool) error
- func AppendMapU32EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint32]T, ...)
- func AppendMapU32EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint32]T, omitempty, quoteKey bool)
- func AppendMapU32F32(enc *Encoder, jsonKey string, val map[uint32]float32, ...)
- func AppendMapU32F64(enc *Encoder, jsonKey string, val map[uint32]float64, ...)
- func AppendMapU32I32(enc *Encoder, jsonKey string, val map[uint32]int32, ...)
- func AppendMapU32I64(enc *Encoder, jsonKey string, val map[uint32]int64, ...)
- func AppendMapU32Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[uint32]T, omitempty, quoteKey bool) error
- func AppendMapU32Str(enc *Encoder, jsonKey string, val map[uint32]string, omitempty, quoteKey bool)
- func AppendMapU32U32(enc *Encoder, jsonKey string, val map[uint32]uint32, ...)
- func AppendMapU32U64(enc *Encoder, jsonKey string, val map[uint32]uint64, ...)
- func AppendMapU32WKTAnyObject(enc *Encoder, jsonKey string, val map[uint32]*anypb.Any, ...) error
- func AppendMapU32WKTAnyProto(enc *Encoder, jsonKey string, val map[uint32]*anypb.Any, ...) error
- func AppendMapU32WKTDurHour(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTDurMicro(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTDurMilli(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTDurMinute(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTDurNano(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTDurObject(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...) error
- func AppendMapU32WKTDurSecond(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTDurTimeStr(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, ...)
- func AppendMapU32WKTTsLayout(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, ...)
- func AppendMapU32WKTTsObject(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, ...) error
- func AppendMapU32WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, ...)
- func AppendMapU32WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, ...)
- func AppendMapU32WKTTsUnixNano(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, ...)
- func AppendMapU32WKTTsUnixSec(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, ...)
- func AppendMapU64Bool(enc *Encoder, jsonKey string, val map[uint64]bool, ...)
- func AppendMapU64Bytes(enc *Encoder, jsonKey string, val map[uint64][]byte, omitempty, quoteKey bool) error
- func AppendMapU64EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint64]T, ...)
- func AppendMapU64EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint64]T, omitempty, quoteKey bool)
- func AppendMapU64F32(enc *Encoder, jsonKey string, val map[uint64]float32, ...)
- func AppendMapU64F64(enc *Encoder, jsonKey string, val map[uint64]float64, ...)
- func AppendMapU64I32(enc *Encoder, jsonKey string, val map[uint64]int32, ...)
- func AppendMapU64I64(enc *Encoder, jsonKey string, val map[uint64]int64, ...)
- func AppendMapU64Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[uint64]T, omitempty, quoteKey bool) error
- func AppendMapU64Str(enc *Encoder, jsonKey string, val map[uint64]string, omitempty, quoteKey bool)
- func AppendMapU64U32(enc *Encoder, jsonKey string, val map[uint64]uint32, ...)
- func AppendMapU64U64(enc *Encoder, jsonKey string, val map[uint64]uint64, ...)
- func AppendMapU64WKTAnyObject(enc *Encoder, jsonKey string, val map[uint64]*anypb.Any, ...) error
- func AppendMapU64WKTAnyProto(enc *Encoder, jsonKey string, val map[uint64]*anypb.Any, ...) error
- func AppendMapU64WKTDurHour(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTDurMicro(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTDurMilli(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTDurMinute(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTDurNano(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTDurObject(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...) error
- func AppendMapU64WKTDurSecond(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTDurTimeStr(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, ...)
- func AppendMapU64WKTTsLayout(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, ...)
- func AppendMapU64WKTTsObject(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, ...) error
- func AppendMapU64WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, ...)
- func AppendMapU64WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, ...)
- func AppendMapU64WKTTsUnixNano(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, ...)
- func AppendMapU64WKTTsUnixSec(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, ...)
- func AppendPtrBool(enc *Encoder, jsonKey string, val *bool, omitempty, quote bool)
- func AppendPtrEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val *T, omitempty, quote bool)
- func AppendPtrEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val *T, omitempty bool)
- func AppendPtrF32(enc *Encoder, jsonKey string, val *float32, omitempty, quote bool)
- func AppendPtrF64(enc *Encoder, jsonKey string, val *float64, omitempty, quote bool)
- func AppendPtrI32(enc *Encoder, jsonKey string, val *int32, omitempty, quote bool)
- func AppendPtrI64(enc *Encoder, jsonKey string, val *int64, omitempty, quote bool)
- func AppendPtrStr(enc *Encoder, jsonKey string, val *string, omitempty bool)
- func AppendPtrU32(enc *Encoder, jsonKey string, val *uint32, omitempty, quote bool)
- func AppendPtrU64(enc *Encoder, jsonKey string, val *uint64, omitempty, quote bool)
- func AppendValBool(enc *Encoder, jsonKey string, val bool, omitempty, quote bool)
- func AppendValBytes(enc *Encoder, jsonKey string, val []byte, omitempty bool) error
- func AppendValEnumNum(enc *Encoder, jsonKey string, val protoreflect.Enum, omitempty, quote bool)
- func AppendValEnumStr(enc *Encoder, jsonKey string, val protoreflect.Enum, omitempty bool)
- func AppendValF32(enc *Encoder, jsonKey string, val float32, omitempty, quote bool)
- func AppendValF64(enc *Encoder, jsonKey string, val float64, omitempty, quote bool)
- func AppendValI32(enc *Encoder, jsonKey string, val int32, omitempty, quote bool)
- func AppendValI64(enc *Encoder, jsonKey string, val int64, omitempty, quote bool)
- func AppendValMessage[U any, T *U](enc *Encoder, jsonKey string, val T, omitempty bool) error
- func AppendValStr(enc *Encoder, jsonKey string, val string, omitempty bool)
- func AppendValU32(enc *Encoder, jsonKey string, val uint32, omitempty, quote bool)
- func AppendValU64(enc *Encoder, jsonKey string, val uint64, omitempty, quote bool)
- func AppendValWKTAnyObject(enc *Encoder, jsonKey string, val *anypb.Any, omitempty bool) error
- func AppendValWKTAnyProto(enc *Encoder, jsonKey string, val *anypb.Any, omitempty bool) error
- func AppendValWKTDurHour(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
- func AppendValWKTDurMicro(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
- func AppendValWKTDurMilli(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
- func AppendValWKTDurMinute(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
- func AppendValWKTDurNano(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
- func AppendValWKTDurObject(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty bool) error
- func AppendValWKTDurSecond(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
- func AppendValWKTDurTimeStr(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty bool)
- func AppendValWKTTsLayout(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty bool, ...)
- func AppendValWKTTsObject(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty bool) error
- func AppendValWKTTsUnixMicro(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, ...)
- func AppendValWKTTsUnixMilli(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, ...)
- func AppendValWKTTsUnixNano(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, ...)
- func AppendValWKTTsUnixSec(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, ...)
- type Encoder
- func (enc *Encoder) AppendListBegin()
- func (enc *Encoder) AppendListEnd()
- func (enc *Encoder) AppendObjectBegin()
- func (enc *Encoder) AppendObjectEnd()
- func (enc *Encoder) AppendObjectKey(k string)
- func (enc *Encoder) AppendValNULL()
- func (enc *Encoder) Bytes() []byte
- func (enc *Encoder) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendListBool ¶
AppendListBool append an JSON key with list of bool to JSON contents.
func AppendListBytes ¶
AppendListBytes append an JSON key with list of bytes to JSON contents.
func AppendListEnumNum ¶
func AppendListEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val []T, omitempty, quote bool)
AppendListEnumNum append an JSON key with list of proto ENUM to JSON contents.
func AppendListEnumStr ¶
func AppendListEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val []T, omitempty bool)
AppendListEnumStr append an JSON key with list of proto ENUM to JSON contents.
func AppendListF32 ¶
AppendListF32 append an JSON key with list of float32 to JSON contents.
func AppendListF64 ¶
AppendListF64 append an JSON key with list of float64 to JSON contents.
func AppendListI32 ¶
AppendListI32 append an JSON key with list of int32 to JSON contents.
func AppendListI64 ¶
AppendListI64 append an JSON key with list of int64 to JSON contents.
func AppendListMessage ¶
func AppendListMessage[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val []T, omitempty bool) error
AppendListMessage append an JSON key with list of proto MESSAGE to JSON contents.
func AppendListStr ¶
AppendListStr append an JSON key with list of string to JSON contents.
func AppendListU32 ¶
AppendListU32 append an JSON key with list of uint32 to JSON contents.
func AppendListU64 ¶
AppendListU64 append an JSON key with list of uint64 to JSON contents.
func AppendListWKTAnyObject ¶
AppendListWKTAnyObject append an JSON key with list of WKT any to JSON contents.
func AppendListWKTAnyProto ¶
AppendListWKTAnyProto append an JSON key with list of WKT any to JSON contents.
func AppendListWKTDurHour ¶
func AppendListWKTDurHour(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty, quote bool)
AppendListWKTDurHour append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurMicro ¶
func AppendListWKTDurMicro(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty, quote bool)
AppendListWKTDurMicro append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurMilli ¶
func AppendListWKTDurMilli(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty, quote bool)
AppendListWKTDurMilli append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurMinute ¶
func AppendListWKTDurMinute(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty, quote bool)
AppendListWKTDurMinute append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurNano ¶
func AppendListWKTDurNano(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty, quote bool)
AppendListWKTDurNano append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurObject ¶
func AppendListWKTDurObject(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty bool) error
AppendListWKTDurObject append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurSecond ¶
func AppendListWKTDurSecond(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty, quote bool)
AppendListWKTDurSecond append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTDurTimeStr ¶
func AppendListWKTDurTimeStr(enc *Encoder, jsonKey string, val []*durationpb.Duration, omitempty bool)
AppendListWKTDurTimeStr append an JSON key with list of WKT duration to JSON contents.
func AppendListWKTTsLayout ¶
func AppendListWKTTsLayout(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty bool, layout string)
AppendListWKTTsLayout append an JSON key with list of WKT timestamp to JSON contents.
func AppendListWKTTsObject ¶
func AppendListWKTTsObject(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty bool) error
AppendListWKTTsObject append an JSON key with list of WKT timestamp to JSON contents.
func AppendListWKTTsUnixMicro ¶
func AppendListWKTTsUnixMicro(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty, quote bool)
AppendListWKTTsUnixMicro append an JSON key with list of WKT timestamp to JSON contents.
func AppendListWKTTsUnixMilli ¶
func AppendListWKTTsUnixMilli(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty, quote bool)
AppendListWKTTsUnixMilli append an JSON key with list of WKT timestamp to JSON contents.
func AppendListWKTTsUnixNano ¶
func AppendListWKTTsUnixNano(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty, quote bool)
AppendListWKTTsUnixNano append an JSON key with list of WKT timestamp to JSON contents.
func AppendListWKTTsUnixSec ¶
func AppendListWKTTsUnixSec(enc *Encoder, jsonKey string, val []*timestamppb.Timestamp, omitempty, quote bool)
AppendListWKTTsUnixSec append an JSON key with list of WKT timestamp to JSON contents.
func AppendMapBoolBool ¶
func AppendMapBoolBool(enc *Encoder, jsonKey string, val map[bool]bool, omitempty, quoteKey, quoteVal bool)
AppendMapBoolBool append an JSON key map of key int32 and value bool to JSON contents.
func AppendMapBoolBytes ¶
func AppendMapBoolBytes(enc *Encoder, jsonKey string, val map[bool][]byte, omitempty, quoteKey bool) error
AppendMapBoolBytes append an JSON key map of key int32 and value bytes to JSON contents.
func AppendMapBoolEnumNum ¶
func AppendMapBoolEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[bool]T, omitempty, quoteKey, quoteVal bool)
AppendMapBoolEnumNum append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapBoolEnumStr ¶
func AppendMapBoolEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[bool]T, omitempty, quoteKey bool)
AppendMapBoolEnumStr append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapBoolF32 ¶
func AppendMapBoolF32(enc *Encoder, jsonKey string, val map[bool]float32, omitempty, quoteKey, quoteVal bool)
AppendMapBoolF32 append an JSON key map of key int32 and value float32 to JSON contents.
func AppendMapBoolF64 ¶
func AppendMapBoolF64(enc *Encoder, jsonKey string, val map[bool]float64, omitempty, quoteKey, quoteVal bool)
AppendMapBoolF64 append an JSON key map of key int32 and value float64 to JSON contents.
func AppendMapBoolI32 ¶
func AppendMapBoolI32(enc *Encoder, jsonKey string, val map[bool]int32, omitempty, quoteKey, quoteVal bool)
AppendMapBoolI32 append an JSON key map of key int32 and value int32 to JSON contents.
func AppendMapBoolI64 ¶
func AppendMapBoolI64(enc *Encoder, jsonKey string, val map[bool]int64, omitempty, quoteKey, quoteVal bool)
AppendMapBoolI64 append an JSON key map of key int32 and value int64 to JSON contents.
func AppendMapBoolMessage ¶
func AppendMapBoolMessage[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[bool]T, omitempty, quoteKey bool) error
AppendMapBoolMessage append an JSON key map of key int32 and value proto MESSAGE to JSON contents.
func AppendMapBoolStr ¶
AppendMapBoolStr append an JSON key map of key int32 and value string to JSON contents.
func AppendMapBoolU32 ¶
func AppendMapBoolU32(enc *Encoder, jsonKey string, val map[bool]uint32, omitempty, quoteKey, quoteVal bool)
AppendMapBoolU32 append an JSON key map of key int32 and value uint32 to JSON contents.
func AppendMapBoolU64 ¶
func AppendMapBoolU64(enc *Encoder, jsonKey string, val map[bool]uint64, omitempty, quoteKey, quoteVal bool)
AppendMapBoolU64 append an JSON key map of key int32 and value uint64 to JSON contents.
func AppendMapBoolWKTAnyObject ¶
func AppendMapBoolWKTAnyObject(enc *Encoder, jsonKey string, val map[bool]*anypb.Any, omitempty, quoteKey bool) error
AppendMapBoolWKTAnyObject append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapBoolWKTAnyProto ¶
func AppendMapBoolWKTAnyProto(enc *Encoder, jsonKey string, val map[bool]*anypb.Any, omitempty, quoteKey bool) error
AppendMapBoolWKTAnyProto append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapBoolWKTDurHour ¶
func AppendMapBoolWKTDurHour(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTDurHour append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurMicro ¶
func AppendMapBoolWKTDurMicro(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTDurMicro append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurMilli ¶
func AppendMapBoolWKTDurMilli(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTDurMilli append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurMinute ¶
func AppendMapBoolWKTDurMinute(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTDurMinute append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurNano ¶
func AppendMapBoolWKTDurNano(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTDurNano append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurObject ¶
func AppendMapBoolWKTDurObject(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey bool) error
AppendMapBoolWKTDurObject append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurSecond ¶
func AppendMapBoolWKTDurSecond(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTDurSecond append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTDurTimeStr ¶
func AppendMapBoolWKTDurTimeStr(enc *Encoder, jsonKey string, val map[bool]*durationpb.Duration, omitempty, quoteKey bool)
AppendMapBoolWKTDurTimeStr append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapBoolWKTTsLayout ¶
func AppendMapBoolWKTTsLayout(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, omitempty, quoteKey bool, layout string)
AppendMapBoolWKTTsLayout append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapBoolWKTTsObject ¶
func AppendMapBoolWKTTsObject(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, omitempty, quoteKey bool) error
AppendMapBoolWKTTsObject append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapBoolWKTTsUnixMicro ¶
func AppendMapBoolWKTTsUnixMicro(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTTsUnixMicro append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapBoolWKTTsUnixMilli ¶
func AppendMapBoolWKTTsUnixMilli(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTTsUnixMilli append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapBoolWKTTsUnixNano ¶
func AppendMapBoolWKTTsUnixNano(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTTsUnixNano append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapBoolWKTTsUnixSec ¶
func AppendMapBoolWKTTsUnixSec(enc *Encoder, jsonKey string, val map[bool]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapBoolWKTTsUnixSec append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI32Bool ¶
func AppendMapI32Bool(enc *Encoder, jsonKey string, val map[int32]bool, omitempty, quoteKey, quoteVal bool)
AppendMapI32Bool append an JSON key map of key int32 and value bool to JSON contents.
func AppendMapI32Bytes ¶
func AppendMapI32Bytes(enc *Encoder, jsonKey string, val map[int32][]byte, omitempty, quoteKey bool) error
AppendMapI32Bytes append an JSON key map of key int32 and value bytes to JSON contents.
func AppendMapI32EnumNum ¶
func AppendMapI32EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int32]T, omitempty, quoteKey, quoteVal bool)
AppendMapI32EnumNum append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapI32EnumStr ¶
func AppendMapI32EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int32]T, omitempty, quoteKey bool)
AppendMapI32EnumStr append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapI32F32 ¶
func AppendMapI32F32(enc *Encoder, jsonKey string, val map[int32]float32, omitempty, quoteKey, quoteVal bool)
AppendMapI32F32 append an JSON key map of key int32 and value float32 to JSON contents.
func AppendMapI32F64 ¶
func AppendMapI32F64(enc *Encoder, jsonKey string, val map[int32]float64, omitempty, quoteKey, quoteVal bool)
AppendMapI32F64 append an JSON key map of key int32 and value float64 to JSON contents.
func AppendMapI32I32 ¶
func AppendMapI32I32(enc *Encoder, jsonKey string, val map[int32]int32, omitempty, quoteKey, quoteVal bool)
AppendMapI32I32 append an JSON key map of key int32 and value int32 to JSON contents.
func AppendMapI32I64 ¶
func AppendMapI32I64(enc *Encoder, jsonKey string, val map[int32]int64, omitempty, quoteKey, quoteVal bool)
AppendMapI32I64 append an JSON key map of key int32 and value int64 to JSON contents.
func AppendMapI32Message ¶
func AppendMapI32Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[int32]T, omitempty, quoteKey bool) error
AppendMapI32Message append an JSON key map of key int32 and value proto MESSAGE to JSON contents.
func AppendMapI32Str ¶
AppendMapI32Str append an JSON key map of key int32 and value string to JSON contents.
func AppendMapI32U32 ¶
func AppendMapI32U32(enc *Encoder, jsonKey string, val map[int32]uint32, omitempty, quoteKey, quoteVal bool)
AppendMapI32U32 append an JSON key map of key int32 and value uint32 to JSON contents.
func AppendMapI32U64 ¶
func AppendMapI32U64(enc *Encoder, jsonKey string, val map[int32]uint64, omitempty, quoteKey, quoteVal bool)
AppendMapI32U64 append an JSON key map of key int32 and value uint64 to JSON contents.
func AppendMapI32WKTAnyObject ¶
func AppendMapI32WKTAnyObject(enc *Encoder, jsonKey string, val map[int32]*anypb.Any, omitempty, quoteKey bool) error
AppendMapI32WKTAnyObject append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapI32WKTAnyProto ¶
func AppendMapI32WKTAnyProto(enc *Encoder, jsonKey string, val map[int32]*anypb.Any, omitempty, quoteKey bool) error
AppendMapI32WKTAnyProto append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapI32WKTDurHour ¶
func AppendMapI32WKTDurHour(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTDurHour append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurMicro ¶
func AppendMapI32WKTDurMicro(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTDurMicro append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurMilli ¶
func AppendMapI32WKTDurMilli(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTDurMilli append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurMinute ¶
func AppendMapI32WKTDurMinute(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTDurMinute append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurNano ¶
func AppendMapI32WKTDurNano(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTDurNano append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurObject ¶
func AppendMapI32WKTDurObject(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey bool) error
AppendMapI32WKTDurObject append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurSecond ¶
func AppendMapI32WKTDurSecond(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTDurSecond append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTDurTimeStr ¶
func AppendMapI32WKTDurTimeStr(enc *Encoder, jsonKey string, val map[int32]*durationpb.Duration, omitempty, quoteKey bool)
AppendMapI32WKTDurTimeStr append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI32WKTTsLayout ¶
func AppendMapI32WKTTsLayout(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, omitempty, quoteKey bool, layout string)
AppendMapI32WKTTsLayout append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI32WKTTsObject ¶
func AppendMapI32WKTTsObject(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, omitempty, quoteKey bool) error
AppendMapI32WKTTsObject append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI32WKTTsUnixMicro ¶
func AppendMapI32WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTTsUnixMicro append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI32WKTTsUnixMilli ¶
func AppendMapI32WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTTsUnixMilli append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI32WKTTsUnixNano ¶
func AppendMapI32WKTTsUnixNano(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTTsUnixNano append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI32WKTTsUnixSec ¶
func AppendMapI32WKTTsUnixSec(enc *Encoder, jsonKey string, val map[int32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI32WKTTsUnixSec append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI64Bool ¶
func AppendMapI64Bool(enc *Encoder, jsonKey string, val map[int64]bool, omitempty, quoteKey, quoteVal bool)
AppendMapI64Bool append an JSON key map of key int64 and value bool to JSON contents.
func AppendMapI64Bytes ¶
func AppendMapI64Bytes(enc *Encoder, jsonKey string, val map[int64][]byte, omitempty, quoteKey bool) error
AppendMapI64Bytes append an JSON key map of key int64 and value bytes to JSON contents.
func AppendMapI64EnumNum ¶
func AppendMapI64EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int64]T, omitempty, quoteKey, quoteVal bool)
AppendMapI64EnumNum append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapI64EnumStr ¶
func AppendMapI64EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[int64]T, omitempty, quoteKey bool)
AppendMapI64EnumStr append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapI64F32 ¶
func AppendMapI64F32(enc *Encoder, jsonKey string, val map[int64]float32, omitempty, quoteKey, quoteVal bool)
AppendMapI64F32 append an JSON key map of key int64 and value float32 to JSON contents.
func AppendMapI64F64 ¶
func AppendMapI64F64(enc *Encoder, jsonKey string, val map[int64]float64, omitempty, quoteKey, quoteVal bool)
AppendMapI64F64 append an JSON key map of key int64 and value float64 to JSON contents.
func AppendMapI64I32 ¶
func AppendMapI64I32(enc *Encoder, jsonKey string, val map[int64]int32, omitempty, quoteKey, quoteVal bool)
AppendMapI64I32 append an JSON key map of key int64 and value int32 to JSON contents.
func AppendMapI64I64 ¶
func AppendMapI64I64(enc *Encoder, jsonKey string, val map[int64]int64, omitempty, quoteKey, quoteVal bool)
AppendMapI64I64 append an JSON key map of key int64 and value int64 to JSON contents.
func AppendMapI64Message ¶
func AppendMapI64Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[int64]T, omitempty, quoteKey bool) error
AppendMapI64Message append an JSON key map of key int64 and value proto MESSAGE to JSON contents.
func AppendMapI64Str ¶
AppendMapI64Str append an JSON key map of key int64 and value string to JSON contents.
func AppendMapI64U32 ¶
func AppendMapI64U32(enc *Encoder, jsonKey string, val map[int64]uint32, omitempty, quoteKey, quoteVal bool)
AppendMapI64U32 append an JSON key map of key int64 and value uint32 to JSON contents.
func AppendMapI64U64 ¶
func AppendMapI64U64(enc *Encoder, jsonKey string, val map[int64]uint64, omitempty, quoteKey, quoteVal bool)
AppendMapI64U64 append an JSON key map of key int64 and value uint64 to JSON contents.
func AppendMapI64WKTAnyObject ¶
func AppendMapI64WKTAnyObject(enc *Encoder, jsonKey string, val map[int64]*anypb.Any, omitempty, quoteKey bool) error
AppendMapI64WKTAnyObject append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapI64WKTAnyProto ¶
func AppendMapI64WKTAnyProto(enc *Encoder, jsonKey string, val map[int64]*anypb.Any, omitempty, quoteKey bool) error
AppendMapI64WKTAnyProto append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapI64WKTDurHour ¶
func AppendMapI64WKTDurHour(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTDurHour append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurMicro ¶
func AppendMapI64WKTDurMicro(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTDurMicro append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurMilli ¶
func AppendMapI64WKTDurMilli(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTDurMilli append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurMinute ¶
func AppendMapI64WKTDurMinute(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTDurMinute append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurNano ¶
func AppendMapI64WKTDurNano(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTDurNano append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurObject ¶
func AppendMapI64WKTDurObject(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey bool) error
AppendMapI64WKTDurObject append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurSecond ¶
func AppendMapI64WKTDurSecond(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTDurSecond append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTDurTimeStr ¶
func AppendMapI64WKTDurTimeStr(enc *Encoder, jsonKey string, val map[int64]*durationpb.Duration, omitempty, quoteKey bool)
AppendMapI64WKTDurTimeStr append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapI64WKTTsLayout ¶
func AppendMapI64WKTTsLayout(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, omitempty, quoteKey bool, layout string)
AppendMapI64WKTTsLayout append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI64WKTTsObject ¶
func AppendMapI64WKTTsObject(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, omitempty, quoteKey bool) error
AppendMapI64WKTTsObject append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI64WKTTsUnixMicro ¶
func AppendMapI64WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTTsUnixMicro append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI64WKTTsUnixMilli ¶
func AppendMapI64WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTTsUnixMilli append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI64WKTTsUnixNano ¶
func AppendMapI64WKTTsUnixNano(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTTsUnixNano append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapI64WKTTsUnixSec ¶
func AppendMapI64WKTTsUnixSec(enc *Encoder, jsonKey string, val map[int64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapI64WKTTsUnixSec append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapStrBool ¶
AppendMapStrBool append an JSON key map of key string and value bool to JSON contents.
func AppendMapStrBytes ¶
AppendMapStrBytes append an JSON key map of key string and value bytes to JSON contents.
func AppendMapStrEnumNum ¶
func AppendMapStrEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[string]T, omitempty, quoteVal bool)
AppendMapStrEnumNum append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapStrEnumStr ¶
func AppendMapStrEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[string]T, omitempty bool)
AppendMapStrEnumStr append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapStrF32 ¶
func AppendMapStrF32(enc *Encoder, jsonKey string, val map[string]float32, omitempty, quoteVal bool)
AppendMapStrF32 append an JSON key map of key string and value float32 to JSON contents.
func AppendMapStrF64 ¶
func AppendMapStrF64(enc *Encoder, jsonKey string, val map[string]float64, omitempty, quoteVal bool)
AppendMapStrF64 append an JSON key map of key string and value float64 to JSON contents.
func AppendMapStrI32 ¶
AppendMapStrI32 append an JSON key map of key string and value int32 to JSON contents.
func AppendMapStrI64 ¶
AppendMapStrI64 append an JSON key map of key string and value int64 to JSON contents.
func AppendMapStrMessage ¶
func AppendMapStrMessage[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[string]T, omitempty bool) error
AppendMapStrMessage append an JSON key map of key string and value proto MESSAGE to JSON contents.
func AppendMapStrStr ¶
AppendMapStrStr append an JSON key map of key string and value string to JSON contents.
func AppendMapStrU32 ¶
AppendMapStrU32 append an JSON key map of key string and value uint32 to JSON contents.
func AppendMapStrU64 ¶
AppendMapStrU64 append an JSON key map of key string and value uint64 to JSON contents.
func AppendMapStrWKTAnyObject ¶
func AppendMapStrWKTAnyObject(enc *Encoder, jsonKey string, val map[string]*anypb.Any, omitempty bool) error
AppendMapStrWKTAnyObject append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapStrWKTAnyProto ¶
func AppendMapStrWKTAnyProto(enc *Encoder, jsonKey string, val map[string]*anypb.Any, omitempty bool) error
AppendMapStrWKTAnyProto append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapStrWKTDurHour ¶
func AppendMapStrWKTDurHour(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty, quoteVal bool)
AppendMapStrWKTDurHour append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurMicro ¶
func AppendMapStrWKTDurMicro(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty, quoteVal bool)
AppendMapStrWKTDurMicro append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurMilli ¶
func AppendMapStrWKTDurMilli(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty, quoteVal bool)
AppendMapStrWKTDurMilli append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurMinute ¶
func AppendMapStrWKTDurMinute(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty, quoteVal bool)
AppendMapStrWKTDurMinute append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurNano ¶
func AppendMapStrWKTDurNano(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty, quoteVal bool)
AppendMapStrWKTDurNano append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurObject ¶
func AppendMapStrWKTDurObject(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty bool) error
AppendMapStrWKTDurObject append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurSecond ¶
func AppendMapStrWKTDurSecond(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty, quoteVal bool)
AppendMapStrWKTDurSecond append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTDurTimeStr ¶
func AppendMapStrWKTDurTimeStr(enc *Encoder, jsonKey string, val map[string]*durationpb.Duration, omitempty bool)
AppendMapStrWKTDurTimeStr append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapStrWKTTsLayout ¶
func AppendMapStrWKTTsLayout(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, omitempty bool, layout string)
AppendMapStrWKTTsLayout append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapStrWKTTsObject ¶
func AppendMapStrWKTTsObject(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, omitempty bool) error
AppendMapStrWKTTsObject append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapStrWKTTsUnixMicro ¶
func AppendMapStrWKTTsUnixMicro(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, omitempty, quoteVal bool)
AppendMapStrWKTTsUnixMicro append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapStrWKTTsUnixMilli ¶
func AppendMapStrWKTTsUnixMilli(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, omitempty, quoteVal bool)
AppendMapStrWKTTsUnixMilli append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapStrWKTTsUnixNano ¶
func AppendMapStrWKTTsUnixNano(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, omitempty, quoteVal bool)
AppendMapStrWKTTsUnixNano append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapStrWKTTsUnixSec ¶
func AppendMapStrWKTTsUnixSec(enc *Encoder, jsonKey string, val map[string]*timestamppb.Timestamp, omitempty, quoteVal bool)
AppendMapStrWKTTsUnixSec append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU32Bool ¶
func AppendMapU32Bool(enc *Encoder, jsonKey string, val map[uint32]bool, omitempty, quoteKey, quoteVal bool)
AppendMapU32Bool append an JSON key map of key uint32 and value bool to JSON contents.
func AppendMapU32Bytes ¶
func AppendMapU32Bytes(enc *Encoder, jsonKey string, val map[uint32][]byte, omitempty, quoteKey bool) error
AppendMapU32Bytes append an JSON key map of key uint32 and value bytes to JSON contents.
func AppendMapU32EnumNum ¶
func AppendMapU32EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint32]T, omitempty, quoteKey, quoteVal bool)
AppendMapU32EnumNum append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapU32EnumStr ¶
func AppendMapU32EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint32]T, omitempty, quoteKey bool)
AppendMapU32EnumStr append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapU32F32 ¶
func AppendMapU32F32(enc *Encoder, jsonKey string, val map[uint32]float32, omitempty, quoteKey, quoteVal bool)
AppendMapU32F32 append an JSON key map of key uint32 and value float32 to JSON contents.
func AppendMapU32F64 ¶
func AppendMapU32F64(enc *Encoder, jsonKey string, val map[uint32]float64, omitempty, quoteKey, quoteVal bool)
AppendMapU32F64 append an JSON key map of key uint32 and value float64 to JSON contents.
func AppendMapU32I32 ¶
func AppendMapU32I32(enc *Encoder, jsonKey string, val map[uint32]int32, omitempty, quoteKey, quoteVal bool)
AppendMapU32I32 append an JSON key map of key uint32 and value int32 to JSON contents.
func AppendMapU32I64 ¶
func AppendMapU32I64(enc *Encoder, jsonKey string, val map[uint32]int64, omitempty, quoteKey, quoteVal bool)
AppendMapU32I64 append an JSON key map of key uint32 and value int64 to JSON contents.
func AppendMapU32Message ¶
func AppendMapU32Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[uint32]T, omitempty, quoteKey bool) error
AppendMapU32Message append an JSON key map of key uint32 and value proto MESSAGE to JSON contents.
func AppendMapU32Str ¶
AppendMapU32Str append an JSON key map of key uint32 and value string to JSON contents.
func AppendMapU32U32 ¶
func AppendMapU32U32(enc *Encoder, jsonKey string, val map[uint32]uint32, omitempty, quoteKey, quoteVal bool)
AppendMapU32U32 append an JSON key map of key uint32 and value uint32 to JSON contents.
func AppendMapU32U64 ¶
func AppendMapU32U64(enc *Encoder, jsonKey string, val map[uint32]uint64, omitempty, quoteKey, quoteVal bool)
AppendMapU32U64 append an JSON key map of key uint32 and value uint64 to JSON contents.
func AppendMapU32WKTAnyObject ¶
func AppendMapU32WKTAnyObject(enc *Encoder, jsonKey string, val map[uint32]*anypb.Any, omitempty, quoteKey bool) error
AppendMapU32WKTAnyObject append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapU32WKTAnyProto ¶
func AppendMapU32WKTAnyProto(enc *Encoder, jsonKey string, val map[uint32]*anypb.Any, omitempty, quoteKey bool) error
AppendMapU32WKTAnyProto append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapU32WKTDurHour ¶
func AppendMapU32WKTDurHour(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTDurHour append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurMicro ¶
func AppendMapU32WKTDurMicro(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTDurMicro append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurMilli ¶
func AppendMapU32WKTDurMilli(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTDurMilli append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurMinute ¶
func AppendMapU32WKTDurMinute(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTDurMinute append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurNano ¶
func AppendMapU32WKTDurNano(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTDurNano append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurObject ¶
func AppendMapU32WKTDurObject(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey bool) error
AppendMapU32WKTDurObject append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurSecond ¶
func AppendMapU32WKTDurSecond(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTDurSecond append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTDurTimeStr ¶
func AppendMapU32WKTDurTimeStr(enc *Encoder, jsonKey string, val map[uint32]*durationpb.Duration, omitempty, quoteKey bool)
AppendMapU32WKTDurTimeStr append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU32WKTTsLayout ¶
func AppendMapU32WKTTsLayout(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, omitempty, quoteKey bool, layout string)
AppendMapU32WKTTsLayout append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU32WKTTsObject ¶
func AppendMapU32WKTTsObject(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, omitempty, quoteKey bool) error
AppendMapU32WKTTsObject append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU32WKTTsUnixMicro ¶
func AppendMapU32WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTTsUnixMicro append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU32WKTTsUnixMilli ¶
func AppendMapU32WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTTsUnixMilli append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU32WKTTsUnixNano ¶
func AppendMapU32WKTTsUnixNano(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTTsUnixNano append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU32WKTTsUnixSec ¶
func AppendMapU32WKTTsUnixSec(enc *Encoder, jsonKey string, val map[uint32]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU32WKTTsUnixSec append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU64Bool ¶
func AppendMapU64Bool(enc *Encoder, jsonKey string, val map[uint64]bool, omitempty, quoteKey, quoteVal bool)
AppendMapU64Bool append an JSON key map of key uint64 and value bool to JSON contents.
func AppendMapU64Bytes ¶
func AppendMapU64Bytes(enc *Encoder, jsonKey string, val map[uint64][]byte, omitempty, quoteKey bool) error
AppendMapU64Bytes append an JSON key map of key uint64 and value bytes to JSON contents.
func AppendMapU64EnumNum ¶
func AppendMapU64EnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint64]T, omitempty, quoteKey, quoteVal bool)
AppendMapU64EnumNum append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapU64EnumStr ¶
func AppendMapU64EnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val map[uint64]T, omitempty, quoteKey bool)
AppendMapU64EnumStr append an JSON key map of key int32 and value proto ENUM to JSON contents.
func AppendMapU64F32 ¶
func AppendMapU64F32(enc *Encoder, jsonKey string, val map[uint64]float32, omitempty, quoteKey, quoteVal bool)
AppendMapU64F32 append an JSON key map of key uint64 and value float32 to JSON contents.
func AppendMapU64F64 ¶
func AppendMapU64F64(enc *Encoder, jsonKey string, val map[uint64]float64, omitempty, quoteKey, quoteVal bool)
AppendMapU64F64 append an JSON key map of key uint64 and value float64 to JSON contents.
func AppendMapU64I32 ¶
func AppendMapU64I32(enc *Encoder, jsonKey string, val map[uint64]int32, omitempty, quoteKey, quoteVal bool)
AppendMapU64I32 append an JSON key map of key uint64 and value int32 to JSON contents.
func AppendMapU64I64 ¶
func AppendMapU64I64(enc *Encoder, jsonKey string, val map[uint64]int64, omitempty, quoteKey, quoteVal bool)
AppendMapU64I64 append an JSON key map of key uint64 and value int64 to JSON contents.
func AppendMapU64Message ¶
func AppendMapU64Message[T protoreflect.ProtoMessage](enc *Encoder, jsonKey string, val map[uint64]T, omitempty, quoteKey bool) error
AppendMapU64Message append an JSON key map of key uint64 and value proto MESSAGE to JSON contents.
func AppendMapU64Str ¶
AppendMapU64Str append an JSON key map of key uint64 and value string to JSON contents.
func AppendMapU64U32 ¶
func AppendMapU64U32(enc *Encoder, jsonKey string, val map[uint64]uint32, omitempty, quoteKey, quoteVal bool)
AppendMapU64U32 append an JSON key map of key uint64 and value uint32 to JSON contents.
func AppendMapU64U64 ¶
func AppendMapU64U64(enc *Encoder, jsonKey string, val map[uint64]uint64, omitempty, quoteKey, quoteVal bool)
AppendMapU64U64 append an JSON key map of key uint64 and value uint64 to JSON contents.
func AppendMapU64WKTAnyObject ¶
func AppendMapU64WKTAnyObject(enc *Encoder, jsonKey string, val map[uint64]*anypb.Any, omitempty, quoteKey bool) error
AppendMapU64WKTAnyObject append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapU64WKTAnyProto ¶
func AppendMapU64WKTAnyProto(enc *Encoder, jsonKey string, val map[uint64]*anypb.Any, omitempty, quoteKey bool) error
AppendMapU64WKTAnyProto append an JSON key map of key int32 and value WKT any to JSON contents.
func AppendMapU64WKTDurHour ¶
func AppendMapU64WKTDurHour(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTDurHour append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurMicro ¶
func AppendMapU64WKTDurMicro(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTDurMicro append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurMilli ¶
func AppendMapU64WKTDurMilli(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTDurMilli append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurMinute ¶
func AppendMapU64WKTDurMinute(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTDurMinute append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurNano ¶
func AppendMapU64WKTDurNano(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTDurNano append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurObject ¶
func AppendMapU64WKTDurObject(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey bool) error
AppendMapU64WKTDurObject append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurSecond ¶
func AppendMapU64WKTDurSecond(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTDurSecond append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTDurTimeStr ¶
func AppendMapU64WKTDurTimeStr(enc *Encoder, jsonKey string, val map[uint64]*durationpb.Duration, omitempty, quoteKey bool)
AppendMapU64WKTDurTimeStr append an JSON key map of key int32 and value WKT duration to JSON contents.
func AppendMapU64WKTTsLayout ¶
func AppendMapU64WKTTsLayout(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, omitempty, quoteKey bool, layout string)
AppendMapU64WKTTsLayout append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU64WKTTsObject ¶
func AppendMapU64WKTTsObject(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, omitempty, quoteKey bool) error
AppendMapU64WKTTsObject append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU64WKTTsUnixMicro ¶
func AppendMapU64WKTTsUnixMicro(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTTsUnixMicro append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU64WKTTsUnixMilli ¶
func AppendMapU64WKTTsUnixMilli(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTTsUnixMilli append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU64WKTTsUnixNano ¶
func AppendMapU64WKTTsUnixNano(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTTsUnixNano append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendMapU64WKTTsUnixSec ¶
func AppendMapU64WKTTsUnixSec(enc *Encoder, jsonKey string, val map[uint64]*timestamppb.Timestamp, omitempty, quoteKey, quoteVal bool)
AppendMapU64WKTTsUnixSec append an JSON key map of key int32 and value WKT timestamp to JSON contents.
func AppendPtrBool ¶
AppendPtrBool append an JSON key with pointer of bool to JSON contents.
func AppendPtrEnumNum ¶
func AppendPtrEnumNum[T protoreflect.Enum](enc *Encoder, jsonKey string, val *T, omitempty, quote bool)
AppendPtrEnumNum append an JSON key with value of proto enum to JSON contents.
func AppendPtrEnumStr ¶
func AppendPtrEnumStr[T protoreflect.Enum](enc *Encoder, jsonKey string, val *T, omitempty bool)
AppendPtrEnumStr append an JSON key with value of proto enum to JSON contents.
func AppendPtrF32 ¶
AppendPtrF32 append an JSON key with pointer of float32 to JSON contents.
func AppendPtrF64 ¶
AppendPtrF64 append an JSON key with pointer of float64 to JSON contents.
func AppendPtrI32 ¶
AppendPtrI32 append an JSON key with pointer of int32 to JSON contents.
func AppendPtrI64 ¶
AppendPtrI64 append an JSON key with pointer of int64 to JSON contents.
func AppendPtrStr ¶
AppendPtrStr append an JSON key with pointer of string to JSON contents.
func AppendPtrU32 ¶
AppendPtrU32 append an JSON key with pointer of uint32 to JSON contents.
func AppendPtrU64 ¶
AppendPtrU64 append an JSON key with pointer of uint64 to JSON contents.
func AppendValBool ¶
AppendValBool append an JSON key with value of bool to JSON contents.
func AppendValBytes ¶
AppendValBytes append an JSON key with value of bytes to JSON contents.
func AppendValEnumNum ¶
func AppendValEnumNum(enc *Encoder, jsonKey string, val protoreflect.Enum, omitempty, quote bool)
AppendValEnumNum append an JSON key with value of proto enum to JSON contents.
func AppendValEnumStr ¶
func AppendValEnumStr(enc *Encoder, jsonKey string, val protoreflect.Enum, omitempty bool)
AppendValEnumStr append an JSON key with value of proto enum to JSON contents.
func AppendValF32 ¶
AppendValF32 append an JSON key with value of float32 to JSON contents.
func AppendValF64 ¶
AppendValF64 append an JSON key with value of float64 to JSON contents.
func AppendValI32 ¶
AppendValI32 append an JSON key with value of int32 to JSON contents.
func AppendValI64 ¶
AppendValI64 append an JSON key with value of int64 to JSON contents.
func AppendValMessage ¶
AppendValMessage append an JSON key with value of proto MESSAGE to JSON contents. func AppendValProtoMessage[T PtrGoAny[U], U any](enc *Encoder, jsonKey string,
val T) error {
func AppendValStr ¶
AppendValStr append an JSON key with value of string to JSON contents.
func AppendValU32 ¶
AppendValU32 append an JSON key with value of uint32 to JSON contents.
func AppendValU64 ¶
AppendValU64 append an JSON key with value of uint64 to JSON contents.
func AppendValWKTAnyObject ¶
AppendValWKTAnyObject append an JSON key with value of WKT any to JSON contents.
func AppendValWKTAnyProto ¶
AppendValWKTAnyProto append an JSON key with value of WKT any to JSON contents.
func AppendValWKTDurHour ¶
func AppendValWKTDurHour(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
AppendValWKTDurHour append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurMicro ¶
func AppendValWKTDurMicro(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
AppendValWKTDurMicro append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurMilli ¶
func AppendValWKTDurMilli(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
AppendValWKTDurMilli append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurMinute ¶
func AppendValWKTDurMinute(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
AppendValWKTDurMinute append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurNano ¶
func AppendValWKTDurNano(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
AppendValWKTDurNano append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurObject ¶
func AppendValWKTDurObject(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty bool) error
AppendValWKTDurObject append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurSecond ¶
func AppendValWKTDurSecond(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty, quote bool)
AppendValWKTDurSecond append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTDurTimeStr ¶
func AppendValWKTDurTimeStr(enc *Encoder, jsonKey string, val *durationpb.Duration, omitempty bool)
AppendValWKTDurTimeStr append an JSON key with value of WKT duration to JSON contents.
func AppendValWKTTsLayout ¶
func AppendValWKTTsLayout(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty bool, layout string)
AppendValWKTTsLayout append an JSON key with value of WKT timestamp to JSON contents.
func AppendValWKTTsObject ¶
func AppendValWKTTsObject(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty bool) error
AppendValWKTTsObject append an JSON key with value of WKT timestamp to JSON contents.
func AppendValWKTTsUnixMicro ¶
func AppendValWKTTsUnixMicro(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty, quote bool)
AppendValWKTTsUnixMicro append an JSON key with value of WKT timestamp to JSON contents.
func AppendValWKTTsUnixMilli ¶
func AppendValWKTTsUnixMilli(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty, quote bool)
AppendValWKTTsUnixMilli append an JSON key with value of WKT timestamp to JSON contents.
func AppendValWKTTsUnixNano ¶
func AppendValWKTTsUnixNano(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty, quote bool)
AppendValWKTTsUnixNano append an JSON key with value of WKT timestamp to JSON contents.
func AppendValWKTTsUnixSec ¶
func AppendValWKTTsUnixSec(enc *Encoder, jsonKey string, val *timestamppb.Timestamp, omitempty, quote bool)
AppendValWKTTsUnixSec append an JSON key with value of WKT timestamp to JSON contents.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) AppendListBegin ¶
func (enc *Encoder) AppendListBegin()
AppendListBegin append a beginning of square brackets into json contents. It can be used for begin of array and slice.
func (*Encoder) AppendListEnd ¶
func (enc *Encoder) AppendListEnd()
AppendListEnd append an ending of square brackets into json contents. It can be used for end of array and slice.
func (*Encoder) AppendObjectBegin ¶
func (enc *Encoder) AppendObjectBegin()
AppendObjectBegin append a beginning of curly braces into json contents. It can be used for begin of JSON, map and struct.
func (*Encoder) AppendObjectEnd ¶
func (enc *Encoder) AppendObjectEnd()
AppendObjectEnd append an ending of curly braces into json contents. It can be used for end of JSON, map and struct.
func (*Encoder) AppendObjectKey ¶
AppendObjectKey append an object key and colon delimiter into JSON contents.
func (*Encoder) AppendValNULL ¶
func (enc *Encoder) AppendValNULL()
AppendValNULL append a value `null` to JSON contents.