Documentation
¶
Index ¶
- func ErrOneOfConflict(dec *Decoder) error
- func ErrStructIsNIL(importPath string, msgName string) error
- func ErrUnknownField(dec *Decoder) error
- func ErrUnknownOneOfField(dec *Decoder, oneOfKey string) error
- func ReadListBool(dec *Decoder, val []bool, unquote bool) (vv []bool, err error)
- func ReadListBytes(dec *Decoder, val [][]byte) (vv [][]byte, err error)
- func ReadListEnumNum[T protoreflect.Enum](dec *Decoder, val []T, unquote bool) (vv []T, err error)
- func ReadListEnumStr[T protoreflect.Enum](dec *Decoder, val []T) (vv []T, err error)
- func ReadListF32(dec *Decoder, val []float32, unquote bool) (vv []float32, err error)
- func ReadListF64(dec *Decoder, val []float64, unquote bool) (vv []float64, err error)
- func ReadListI32(dec *Decoder, val []int32, unquote bool) (vv []int32, err error)
- func ReadListI64(dec *Decoder, val []int64, unquote bool) (vv []int64, err error)
- func ReadListMessage[U any, T *U](dec *Decoder, val []T) (vv []T, err error)
- func ReadListStr(dec *Decoder, val []string) (vv []string, err error)
- func ReadListU32(dec *Decoder, val []uint32, unquote bool) (vv []uint32, err error)
- func ReadListU64(dec *Decoder, val []uint64, unquote bool) (vv []uint64, err error)
- func ReadListWKTAnyObject(dec *Decoder, val []*anypb.Any) (vv []*anypb.Any, err error)
- func ReadListWKTAnyProto(dec *Decoder, val []*anypb.Any) (vv []*anypb.Any, err error)
- func ReadListWKTDurHour(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurMicro(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurMilli(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurMinute(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurNano(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurObject(dec *Decoder, val []*durationpb.Duration) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurSecond(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
- func ReadListWKTDurTimeStr(dec *Decoder, val []*durationpb.Duration) (vv []*durationpb.Duration, err error)
- func ReadListWKTTsLayout(dec *Decoder, val []*timestamppb.Timestamp, layout string) (vv []*timestamppb.Timestamp, err error)
- func ReadListWKTTsObject(dec *Decoder, val []*timestamppb.Timestamp) (vv []*timestamppb.Timestamp, err error)
- func ReadListWKTTsUnixMicro(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
- func ReadListWKTTsUnixMilli(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
- func ReadListWKTTsUnixNano(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
- func ReadListWKTTsUnixSec(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
- func ReadMapBoolBool(dec *Decoder, val map[bool]bool, unquoteKey, unquoteVal bool) (vv map[bool]bool, err error)
- func ReadMapBoolBytes(dec *Decoder, val map[bool][]byte, unquoteKey bool) (vv map[bool][]byte, err error)
- func ReadMapBoolEnumNum[T protoreflect.Enum](dec *Decoder, val map[bool]T, unquoteKey, unquoteVal bool) (vv map[bool]T, err error)
- func ReadMapBoolEnumStr[T protoreflect.Enum](dec *Decoder, val map[bool]T, unquoteKey bool) (vv map[bool]T, err error)
- func ReadMapBoolF32(dec *Decoder, val map[bool]float32, unquoteKey, unquoteVal bool) (vv map[bool]float32, err error)
- func ReadMapBoolF64(dec *Decoder, val map[bool]float64, unquoteKey, unquoteVal bool) (vv map[bool]float64, err error)
- func ReadMapBoolI32(dec *Decoder, val map[bool]int32, unquoteKey, unquoteVal bool) (vv map[bool]int32, err error)
- func ReadMapBoolI64(dec *Decoder, val map[bool]int64, unquoteKey, unquoteVal bool) (vv map[bool]int64, err error)
- func ReadMapBoolMessage[U any, T *U](dec *Decoder, val map[bool]T, unquoteKey bool) (vv map[bool]T, err error)
- func ReadMapBoolStr(dec *Decoder, val map[bool]string, unquoteKey bool) (vv map[bool]string, err error)
- func ReadMapBoolU32(dec *Decoder, val map[bool]uint32, unquoteKey, unquoteVal bool) (vv map[bool]uint32, err error)
- func ReadMapBoolU64(dec *Decoder, val map[bool]uint64, unquoteKey, unquoteVal bool) (vv map[bool]uint64, err error)
- func ReadMapBoolWKTAnyObject(dec *Decoder, val map[bool]*anypb.Any, unquoteKey bool) (vv map[bool]*anypb.Any, err error)
- func ReadMapBoolWKTAnyProto(dec *Decoder, val map[bool]*anypb.Any, unquoteKey bool) (vv map[bool]*anypb.Any, err error)
- func ReadMapBoolWKTDurHour(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurMicro(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurMilli(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurMinute(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurNano(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurObject(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurSecond(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTDurTimeStr(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey bool) (vv map[bool]*durationpb.Duration, err error)
- func ReadMapBoolWKTTsLayout(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey bool, ...) (vv map[bool]*timestamppb.Timestamp, err error)
- func ReadMapBoolWKTTsObject(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey bool) (vv map[bool]*timestamppb.Timestamp, err error)
- func ReadMapBoolWKTTsUnixMicro(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
- func ReadMapBoolWKTTsUnixMilli(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
- func ReadMapBoolWKTTsUnixNano(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
- func ReadMapBoolWKTTsUnixSec(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
- func ReadMapI32Bool(dec *Decoder, val map[int32]bool, unquoteKey, unquoteVal bool) (vv map[int32]bool, err error)
- func ReadMapI32Bytes(dec *Decoder, val map[int32][]byte, unquoteKey bool) (vv map[int32][]byte, err error)
- func ReadMapI32EnumNum[T protoreflect.Enum](dec *Decoder, val map[int32]T, unquoteKey, unquoteVal bool) (vv map[int32]T, err error)
- func ReadMapI32EnumStr[T protoreflect.Enum](dec *Decoder, val map[int32]T, unquoteKey bool) (vv map[int32]T, err error)
- func ReadMapI32F32(dec *Decoder, val map[int32]float32, unquoteKey, unquoteVal bool) (vv map[int32]float32, err error)
- func ReadMapI32F64(dec *Decoder, val map[int32]float64, unquoteKey, unquoteVal bool) (vv map[int32]float64, err error)
- func ReadMapI32I32(dec *Decoder, val map[int32]int32, unquoteKey, unquoteVal bool) (vv map[int32]int32, err error)
- func ReadMapI32I64(dec *Decoder, val map[int32]int64, unquoteKey, unquoteVal bool) (vv map[int32]int64, err error)
- func ReadMapI32Message[U any, T *U](dec *Decoder, val map[int32]T, unquoteKey bool) (vv map[int32]T, err error)
- func ReadMapI32Str(dec *Decoder, val map[int32]string, unquoteKey bool) (vv map[int32]string, err error)
- func ReadMapI32U32(dec *Decoder, val map[int32]uint32, unquoteKey, unquoteVal bool) (vv map[int32]uint32, err error)
- func ReadMapI32U64(dec *Decoder, val map[int32]uint64, unquoteKey, unquoteVal bool) (vv map[int32]uint64, err error)
- func ReadMapI32WKTAnyObject(dec *Decoder, val map[int32]*anypb.Any, unquoteKey bool) (vv map[int32]*anypb.Any, err error)
- func ReadMapI32WKTAnyProto(dec *Decoder, val map[int32]*anypb.Any, unquoteKey bool) (vv map[int32]*anypb.Any, err error)
- func ReadMapI32WKTDurHour(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurMicro(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurMilli(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurMinute(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurNano(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurObject(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurSecond(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTDurTimeStr(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey bool) (vv map[int32]*durationpb.Duration, err error)
- func ReadMapI32WKTTsLayout(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey bool, ...) (vv map[int32]*timestamppb.Timestamp, err error)
- func ReadMapI32WKTTsObject(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey bool) (vv map[int32]*timestamppb.Timestamp, err error)
- func ReadMapI32WKTTsUnixMicro(dec *Decoder, val map[int32]*timestamppb.Timestamp, ...) (vv map[int32]*timestamppb.Timestamp, err error)
- func ReadMapI32WKTTsUnixMilli(dec *Decoder, val map[int32]*timestamppb.Timestamp, ...) (vv map[int32]*timestamppb.Timestamp, err error)
- func ReadMapI32WKTTsUnixNano(dec *Decoder, val map[int32]*timestamppb.Timestamp, ...) (vv map[int32]*timestamppb.Timestamp, err error)
- func ReadMapI32WKTTsUnixSec(dec *Decoder, val map[int32]*timestamppb.Timestamp, ...) (vv map[int32]*timestamppb.Timestamp, err error)
- func ReadMapI64Bool(dec *Decoder, val map[int64]bool, unquoteKey, unquoteVal bool) (vv map[int64]bool, err error)
- func ReadMapI64Bytes(dec *Decoder, val map[int64][]byte, unquoteKey bool) (vv map[int64][]byte, err error)
- func ReadMapI64EnumNum[T protoreflect.Enum](dec *Decoder, val map[int64]T, unquoteKey, unquoteVal bool) (vv map[int64]T, err error)
- func ReadMapI64EnumStr[T protoreflect.Enum](dec *Decoder, val map[int64]T, unquoteKey bool) (vv map[int64]T, err error)
- func ReadMapI64F32(dec *Decoder, val map[int64]float32, unquoteKey, unquoteVal bool) (vv map[int64]float32, err error)
- func ReadMapI64F64(dec *Decoder, val map[int64]float64, unquoteKey, unquoteVal bool) (vv map[int64]float64, err error)
- func ReadMapI64I32(dec *Decoder, val map[int64]int32, unquoteKey, unquoteVal bool) (vv map[int64]int32, err error)
- func ReadMapI64I64(dec *Decoder, val map[int64]int64, unquoteKey, unquoteVal bool) (vv map[int64]int64, err error)
- func ReadMapI64Message[U any, T *U](dec *Decoder, val map[int64]T, unquoteKey bool) (vv map[int64]T, err error)
- func ReadMapI64Str(dec *Decoder, val map[int64]string, unquoteKey bool) (vv map[int64]string, err error)
- func ReadMapI64U32(dec *Decoder, val map[int64]uint32, unquoteKey, unquoteVal bool) (vv map[int64]uint32, err error)
- func ReadMapI64U64(dec *Decoder, val map[int64]uint64, unquoteKey, unquoteVal bool) (vv map[int64]uint64, err error)
- func ReadMapI64WKTAnyObject(dec *Decoder, val map[int64]*anypb.Any, unquoteKey bool) (vv map[int64]*anypb.Any, err error)
- func ReadMapI64WKTAnyProto(dec *Decoder, val map[int64]*anypb.Any, unquoteKey bool) (vv map[int64]*anypb.Any, err error)
- func ReadMapI64WKTDurHour(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurMicro(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurMilli(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurMinute(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurNano(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurObject(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurSecond(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTDurTimeStr(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey bool) (vv map[int64]*durationpb.Duration, err error)
- func ReadMapI64WKTTsLayout(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey bool, ...) (vv map[int64]*timestamppb.Timestamp, err error)
- func ReadMapI64WKTTsObject(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey bool) (vv map[int64]*timestamppb.Timestamp, err error)
- func ReadMapI64WKTTsUnixMicro(dec *Decoder, val map[int64]*timestamppb.Timestamp, ...) (vv map[int64]*timestamppb.Timestamp, err error)
- func ReadMapI64WKTTsUnixMilli(dec *Decoder, val map[int64]*timestamppb.Timestamp, ...) (vv map[int64]*timestamppb.Timestamp, err error)
- func ReadMapI64WKTTsUnixNano(dec *Decoder, val map[int64]*timestamppb.Timestamp, ...) (vv map[int64]*timestamppb.Timestamp, err error)
- func ReadMapI64WKTTsUnixSec(dec *Decoder, val map[int64]*timestamppb.Timestamp, ...) (vv map[int64]*timestamppb.Timestamp, err error)
- func ReadMapStrBool(dec *Decoder, val map[string]bool, unquoteVal bool) (vv map[string]bool, err error)
- func ReadMapStrBytes(dec *Decoder, val map[string][]byte) (vv map[string][]byte, err error)
- func ReadMapStrEnumNum[T protoreflect.Enum](dec *Decoder, val map[string]T, unquoteVal bool) (vv map[string]T, err error)
- func ReadMapStrEnumStr[T protoreflect.Enum](dec *Decoder, val map[string]T) (vv map[string]T, err error)
- func ReadMapStrF32(dec *Decoder, val map[string]float32, unquoteVal bool) (vv map[string]float32, err error)
- func ReadMapStrF64(dec *Decoder, val map[string]float64, unquoteVal bool) (vv map[string]float64, err error)
- func ReadMapStrI32(dec *Decoder, val map[string]int32, unquoteVal bool) (vv map[string]int32, err error)
- func ReadMapStrI64(dec *Decoder, val map[string]int64, unquoteVal bool) (vv map[string]int64, err error)
- func ReadMapStrMessage[U any, T *U](dec *Decoder, val map[string]T) (vv map[string]T, err error)
- func ReadMapStrStr(dec *Decoder, val map[string]string) (vv map[string]string, err error)
- func ReadMapStrU32(dec *Decoder, val map[string]uint32, unquoteVal bool) (vv map[string]uint32, err error)
- func ReadMapStrU64(dec *Decoder, val map[string]uint64, unquoteVal bool) (vv map[string]uint64, err error)
- func ReadMapStrWKTAnyObject(dec *Decoder, val map[string]*anypb.Any) (vv map[string]*anypb.Any, err error)
- func ReadMapStrWKTAnyProto(dec *Decoder, val map[string]*anypb.Any) (vv map[string]*anypb.Any, err error)
- func ReadMapStrWKTDurHour(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurMicro(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurMilli(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurMinute(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurNano(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurObject(dec *Decoder, val map[string]*durationpb.Duration) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurSecond(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTDurTimeStr(dec *Decoder, val map[string]*durationpb.Duration) (vv map[string]*durationpb.Duration, err error)
- func ReadMapStrWKTTsLayout(dec *Decoder, val map[string]*timestamppb.Timestamp, layout string) (vv map[string]*timestamppb.Timestamp, err error)
- func ReadMapStrWKTTsObject(dec *Decoder, val map[string]*timestamppb.Timestamp) (vv map[string]*timestamppb.Timestamp, err error)
- func ReadMapStrWKTTsUnixMicro(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
- func ReadMapStrWKTTsUnixMilli(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
- func ReadMapStrWKTTsUnixNano(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
- func ReadMapStrWKTTsUnixSec(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
- func ReadMapU32Bool(dec *Decoder, val map[uint32]bool, unquoteKey, unquoteVal bool) (vv map[uint32]bool, err error)
- func ReadMapU32Bytes(dec *Decoder, val map[uint32][]byte, unquoteKey bool) (vv map[uint32][]byte, err error)
- func ReadMapU32EnumNum[T protoreflect.Enum](dec *Decoder, val map[uint32]T, unquoteKey, unquoteVal bool) (vv map[uint32]T, err error)
- func ReadMapU32EnumStr[T protoreflect.Enum](dec *Decoder, val map[uint32]T, unquoteKey bool) (vv map[uint32]T, err error)
- func ReadMapU32F32(dec *Decoder, val map[uint32]float32, unquoteKey, unquoteVal bool) (vv map[uint32]float32, err error)
- func ReadMapU32F64(dec *Decoder, val map[uint32]float64, unquoteKey, unquoteVal bool) (vv map[uint32]float64, err error)
- func ReadMapU32I32(dec *Decoder, val map[uint32]int32, unquoteKey, unquoteVal bool) (vv map[uint32]int32, err error)
- func ReadMapU32I64(dec *Decoder, val map[uint32]int64, unquoteKey, unquoteVal bool) (vv map[uint32]int64, err error)
- func ReadMapU32Message[U any, T *U](dec *Decoder, val map[uint32]T, unquoteKey bool) (vv map[uint32]T, err error)
- func ReadMapU32Str(dec *Decoder, val map[uint32]string, unquoteKey bool) (vv map[uint32]string, err error)
- func ReadMapU32U32(dec *Decoder, val map[uint32]uint32, unquoteKey, unquoteVal bool) (vv map[uint32]uint32, err error)
- func ReadMapU32U64(dec *Decoder, val map[uint32]uint64, unquoteKey, unquoteVal bool) (vv map[uint32]uint64, err error)
- func ReadMapU32WKTAnyObject(dec *Decoder, val map[uint32]*anypb.Any, unquoteKey bool) (vv map[uint32]*anypb.Any, err error)
- func ReadMapU32WKTAnyProto(dec *Decoder, val map[uint32]*anypb.Any, unquoteKey bool) (vv map[uint32]*anypb.Any, err error)
- func ReadMapU32WKTDurHour(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurMicro(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurMilli(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurMinute(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurNano(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurObject(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurSecond(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTDurTimeStr(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey bool) (vv map[uint32]*durationpb.Duration, err error)
- func ReadMapU32WKTTsLayout(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey bool, ...) (vv map[uint32]*timestamppb.Timestamp, err error)
- func ReadMapU32WKTTsObject(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey bool) (vv map[uint32]*timestamppb.Timestamp, err error)
- func ReadMapU32WKTTsUnixMicro(dec *Decoder, val map[uint32]*timestamppb.Timestamp, ...) (vv map[uint32]*timestamppb.Timestamp, err error)
- func ReadMapU32WKTTsUnixMilli(dec *Decoder, val map[uint32]*timestamppb.Timestamp, ...) (vv map[uint32]*timestamppb.Timestamp, err error)
- func ReadMapU32WKTTsUnixNano(dec *Decoder, val map[uint32]*timestamppb.Timestamp, ...) (vv map[uint32]*timestamppb.Timestamp, err error)
- func ReadMapU32WKTTsUnixSec(dec *Decoder, val map[uint32]*timestamppb.Timestamp, ...) (vv map[uint32]*timestamppb.Timestamp, err error)
- func ReadMapU64Bool(dec *Decoder, val map[uint64]bool, unquoteKey, unquoteVal bool) (vv map[uint64]bool, err error)
- func ReadMapU64Bytes(dec *Decoder, val map[uint64][]byte, unquoteKey bool) (vv map[uint64][]byte, err error)
- func ReadMapU64EnumNum[T protoreflect.Enum](dec *Decoder, val map[uint64]T, unquoteKey, unquoteVal bool) (vv map[uint64]T, err error)
- func ReadMapU64EnumStr[T protoreflect.Enum](dec *Decoder, val map[uint64]T, unquoteKey bool) (vv map[uint64]T, err error)
- func ReadMapU64F32(dec *Decoder, val map[uint64]float32, unquoteKey, unquoteVal bool) (vv map[uint64]float32, err error)
- func ReadMapU64F64(dec *Decoder, val map[uint64]float64, unquoteKey, unquoteVal bool) (vv map[uint64]float64, err error)
- func ReadMapU64I32(dec *Decoder, val map[uint64]int32, unquoteKey, unquoteVal bool) (vv map[uint64]int32, err error)
- func ReadMapU64I64(dec *Decoder, val map[uint64]int64, unquoteKey, unquoteVal bool) (vv map[uint64]int64, err error)
- func ReadMapU64Message[U any, T *U](dec *Decoder, val map[uint64]T, unquoteKey bool) (vv map[uint64]T, err error)
- func ReadMapU64Str(dec *Decoder, val map[uint64]string, unquoteKey bool) (vv map[uint64]string, err error)
- func ReadMapU64U32(dec *Decoder, val map[uint64]uint32, unquoteKey, unquoteVal bool) (vv map[uint64]uint32, err error)
- func ReadMapU64U64(dec *Decoder, val map[uint64]uint64, unquoteKey, unquoteVal bool) (vv map[uint64]uint64, err error)
- func ReadMapU64WKTAnyObject(dec *Decoder, val map[uint64]*anypb.Any, unquoteKey bool) (vv map[uint64]*anypb.Any, err error)
- func ReadMapU64WKTAnyProto(dec *Decoder, val map[uint64]*anypb.Any, unquoteKey bool) (vv map[uint64]*anypb.Any, err error)
- func ReadMapU64WKTDurHour(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurMicro(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurMilli(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurMinute(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurNano(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurObject(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurSecond(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTDurTimeStr(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey bool) (vv map[uint64]*durationpb.Duration, err error)
- func ReadMapU64WKTTsLayout(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey bool, ...) (vv map[uint64]*timestamppb.Timestamp, err error)
- func ReadMapU64WKTTsObject(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey bool) (vv map[uint64]*timestamppb.Timestamp, err error)
- func ReadMapU64WKTTsUnixMicro(dec *Decoder, val map[uint64]*timestamppb.Timestamp, ...) (vv map[uint64]*timestamppb.Timestamp, err error)
- func ReadMapU64WKTTsUnixMilli(dec *Decoder, val map[uint64]*timestamppb.Timestamp, ...) (vv map[uint64]*timestamppb.Timestamp, err error)
- func ReadMapU64WKTTsUnixNano(dec *Decoder, val map[uint64]*timestamppb.Timestamp, ...) (vv map[uint64]*timestamppb.Timestamp, err error)
- func ReadMapU64WKTTsUnixSec(dec *Decoder, val map[uint64]*timestamppb.Timestamp, ...) (vv map[uint64]*timestamppb.Timestamp, err error)
- func ReadPtrBool(dec *Decoder, val *bool, unquote bool) (vv *bool, err error)
- func ReadPtrEnumNum[T protoreflect.Enum](dec *Decoder, val *T, unquote bool) (vv *T, err error)
- func ReadPtrEnumStr[T protoreflect.Enum](dec *Decoder, val *T) (vv *T, err error)
- func ReadPtrF32(dec *Decoder, val *float32, unquote bool) (vv *float32, err error)
- func ReadPtrF64(dec *Decoder, val *float64, unquote bool) (vv *float64, err error)
- func ReadPtrI32(dec *Decoder, val *int32, unquote bool) (vv *int32, err error)
- func ReadPtrI64(dec *Decoder, val *int64, unquote bool) (vv *int64, err error)
- func ReadPtrStr(dec *Decoder, val *string) (vv *string, err error)
- func ReadPtrU32(dec *Decoder, val *uint32, unquote bool) (vv *uint32, err error)
- func ReadPtrU64(dec *Decoder, val *uint64, unquote bool) (vv *uint64, err error)
- func ReadValBool(dec *Decoder, unquote bool) (vv bool, err error)
- func ReadValBytes(dec *Decoder) (vv []byte, err error)
- func ReadValEnumNum[T protoreflect.Enum](dec *Decoder, val T, unquote bool) (vv T, err error)
- func ReadValEnumStr[T protoreflect.Enum](dec *Decoder, val T) (vv T, err error)
- func ReadValF32(dec *Decoder, unquote bool) (vv float32, err error)
- func ReadValF64(dec *Decoder, unquote bool) (vv float64, err error)
- func ReadValI32(dec *Decoder, unquote bool) (vv int32, err error)
- func ReadValI64(dec *Decoder, unquote bool) (vv int64, err error)
- func ReadValMessage[U any, T *U](dec *Decoder, val T) (vv T, err error)
- func ReadValStr(dec *Decoder) (vv string, err error)
- func ReadValU32(dec *Decoder, unquote bool) (vv uint32, err error)
- func ReadValU64(dec *Decoder, unquote bool) (vv uint64, err error)
- func ReadValWKTAnyObject(dec *Decoder, val *anypb.Any) (vv *anypb.Any, err error)
- func ReadValWKTAnyProto(dec *Decoder, val *anypb.Any) (vv *anypb.Any, err error)
- func ReadValWKTDurHour(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
- func ReadValWKTDurMicro(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
- func ReadValWKTDurMilli(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
- func ReadValWKTDurMinute(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
- func ReadValWKTDurNano(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
- func ReadValWKTDurObject(dec *Decoder, val *durationpb.Duration) (vv *durationpb.Duration, err error)
- func ReadValWKTDurSecond(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
- func ReadValWKTDurTimeStr(dec *Decoder, val *durationpb.Duration) (vv *durationpb.Duration, err error)
- func ReadValWKTTsLayout(dec *Decoder, val *timestamppb.Timestamp, layout string) (vv *timestamppb.Timestamp, err error)
- func ReadValWKTTsObject(dec *Decoder, val *timestamppb.Timestamp) (vv *timestamppb.Timestamp, err error)
- func ReadValWKTTsUnixMicro(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
- func ReadValWKTTsUnixMilli(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
- func ReadValWKTTsUnixNano(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
- func ReadValWKTTsUnixSec(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
- type Decoder
- func (dec *Decoder) BeforeReadList() (isNULL bool, err error)
- func (dec *Decoder) BeforeReadMap() (isNULL bool, err error)
- func (dec *Decoder) BeforeReadNext() (isEnd bool, err error)
- func (dec *Decoder) BeforeReadObject() (isNULL bool, err error)
- func (dec *Decoder) BeforeScanJSON() (isNULL bool, err error)
- func (dec *Decoder) BeforeScanNext() (isEnd bool, err error)
- func (dec *Decoder) DiscardValue() (err error)
- func (dec *Decoder) NextLiteralIsNULL() (isNULL bool, err error)
- func (dec *Decoder) ReadJSONKey() (jsonKey string, err error)
- func (dec *Decoder) ReadObjectKey() (objKey string, err error)
- type Error
- type InternalError
- type OpCode
- type ParsePhase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrOneOfConflict ¶
func ErrStructIsNIL ¶
func ErrUnknownField ¶
func ErrUnknownOneOfField ¶
func ReadListBool ¶
ReadListBool read the next items from JSON contents as a list of bool.
func ReadListBytes ¶
ReadListBytes read the next items from JSON contents as a list of bytes.
func ReadListEnumNum ¶
func ReadListEnumNum[T protoreflect.Enum](dec *Decoder, val []T, unquote bool) (vv []T, err error)
ReadListEnumNum read the next items from JSON contents as a list of enum with codec number.
func ReadListEnumStr ¶
func ReadListEnumStr[T protoreflect.Enum](dec *Decoder, val []T) (vv []T, err error)
ReadListEnumStr read the next items from JSON contents as a list of enum with codec string.
func ReadListF32 ¶
ReadListF32 read the next items from JSON contents as a list of float32.
func ReadListF64 ¶
ReadListF64 read the next items from JSON contents as a list of uint64.
func ReadListI32 ¶
ReadListI32 read the next items from JSON contents as a list of int32.
func ReadListI64 ¶
ReadListI64 read the next items from JSON contents as a list of int64.
func ReadListMessage ¶
ReadListMessage read the next items from JSON contents as a list of message. func ReadListMessage[T PtrGoAny[U], U any](dec *Decoder, val []T) (vv []T, err error) {
func ReadListStr ¶
ReadListStr read the next items from JSON contents as a list of string.
func ReadListU32 ¶
ReadListU32 read the next items from JSON contents as a list of uint32.
func ReadListU64 ¶
ReadListU64 read the next items from JSON contents as a list of uint64.
func ReadListWKTAnyObject ¶
ReadListWKTAnyObject read the next items from JSON contents as a list of WKT any with codec proto.
func ReadListWKTAnyProto ¶
ReadListWKTAnyProto read the next items from JSON contents as a list of WKT any with codec proto.
func ReadListWKTDurHour ¶
func ReadListWKTDurHour(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
ReadListWKTDurHour read the next items from JSON contents as a list of WKT duration with codec hours.
func ReadListWKTDurMicro ¶
func ReadListWKTDurMicro(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
ReadListWKTDurMicro read the next items from JSON contents as a list of WKT duration with codec microsecond.
func ReadListWKTDurMilli ¶
func ReadListWKTDurMilli(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
ReadListWKTDurMilli read the next items from JSON contents as a list of WKT duration with codec millisecond.
func ReadListWKTDurMinute ¶
func ReadListWKTDurMinute(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
ReadListWKTDurMinute read the next items from JSON contents as a list of WKT duration with codec minutes.
func ReadListWKTDurNano ¶
func ReadListWKTDurNano(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
ReadListWKTDurNano read the next items from JSON contents as a list of WKT duration with codec nanosecond.
func ReadListWKTDurObject ¶
func ReadListWKTDurObject(dec *Decoder, val []*durationpb.Duration) (vv []*durationpb.Duration, err error)
ReadListWKTDurObject read the next items from JSON contents as a list of WKT duration with codec string.
func ReadListWKTDurSecond ¶
func ReadListWKTDurSecond(dec *Decoder, val []*durationpb.Duration, unquote bool) (vv []*durationpb.Duration, err error)
ReadListWKTDurSecond read the next items from JSON contents as a list of WKT duration with codec seconds.
func ReadListWKTDurTimeStr ¶
func ReadListWKTDurTimeStr(dec *Decoder, val []*durationpb.Duration) (vv []*durationpb.Duration, err error)
ReadListWKTDurTimeStr read the next items from JSON contents as a list of WKT duration with codec string.
func ReadListWKTTsLayout ¶
func ReadListWKTTsLayout(dec *Decoder, val []*timestamppb.Timestamp, layout string) (vv []*timestamppb.Timestamp, err error)
ReadListWKTTsLayout read the next items from JSON contents as a list of WKT timestamp with codec time layout.
func ReadListWKTTsObject ¶
func ReadListWKTTsObject(dec *Decoder, val []*timestamppb.Timestamp) (vv []*timestamppb.Timestamp, err error)
ReadListWKTTsObject read the next items from JSON contents as a list of WKT timestamp with codec time layout.
func ReadListWKTTsUnixMicro ¶
func ReadListWKTTsUnixMicro(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
ReadListWKTTsUnixMicro read the next items from JSON contents as a list of WKT timestamp with codec unix micro.
func ReadListWKTTsUnixMilli ¶
func ReadListWKTTsUnixMilli(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
ReadListWKTTsUnixMilli read the next items from JSON contents as a list of WKT timestamp with codec unix milli.
func ReadListWKTTsUnixNano ¶
func ReadListWKTTsUnixNano(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
ReadListWKTTsUnixNano read the next items from JSON contents as a list of WKT timestamp with codec unix nano.
func ReadListWKTTsUnixSec ¶
func ReadListWKTTsUnixSec(dec *Decoder, val []*timestamppb.Timestamp, unquote bool) (vv []*timestamppb.Timestamp, err error)
ReadListWKTTsUnixSec read the next items from JSON contents as a list of WKT timestamp with codec unix sec.
func ReadMapBoolBool ¶
func ReadMapBoolBool(dec *Decoder, val map[bool]bool, unquoteKey, unquoteVal bool) (vv map[bool]bool, err error)
ReadMapBoolBool read the next items from JSON contents as map key bool and value bool.
func ReadMapBoolBytes ¶
func ReadMapBoolBytes(dec *Decoder, val map[bool][]byte, unquoteKey bool) (vv map[bool][]byte, err error)
ReadMapBoolBytes read the next items from JSON contents as map key bool and value bytes.
func ReadMapBoolEnumNum ¶
func ReadMapBoolEnumNum[T protoreflect.Enum](dec *Decoder, val map[bool]T, unquoteKey, unquoteVal bool) (vv map[bool]T, err error)
ReadMapBoolEnumNum read the next items from JSON contents as map key bool and value enum with codec number.
func ReadMapBoolEnumStr ¶
func ReadMapBoolEnumStr[T protoreflect.Enum](dec *Decoder, val map[bool]T, unquoteKey bool) (vv map[bool]T, err error)
ReadMapBoolEnumStr read the next items from JSON contents as map key bool and value enum with codec string.
func ReadMapBoolF32 ¶
func ReadMapBoolF32(dec *Decoder, val map[bool]float32, unquoteKey, unquoteVal bool) (vv map[bool]float32, err error)
ReadMapBoolF32 read the next items from JSON contents as map key bool and value float32.
func ReadMapBoolF64 ¶
func ReadMapBoolF64(dec *Decoder, val map[bool]float64, unquoteKey, unquoteVal bool) (vv map[bool]float64, err error)
ReadMapBoolF64 read the next items from JSON contents as map key bool and value uint64.
func ReadMapBoolI32 ¶
func ReadMapBoolI32(dec *Decoder, val map[bool]int32, unquoteKey, unquoteVal bool) (vv map[bool]int32, err error)
ReadMapBoolI32 read the next items from JSON contents as map key bool and value int32.
func ReadMapBoolI64 ¶
func ReadMapBoolI64(dec *Decoder, val map[bool]int64, unquoteKey, unquoteVal bool) (vv map[bool]int64, err error)
ReadMapBoolI64 read the next items from JSON contents as map key bool and value int64.
func ReadMapBoolMessage ¶
func ReadMapBoolMessage[U any, T *U](dec *Decoder, val map[bool]T, unquoteKey bool) (vv map[bool]T, err error)
ReadMapBoolMessage read the next items from JSON contents as map key bool and value message. func ReadMapBoolMessage[T PtrGoAny[U], U any](dec *Decoder, val map[bool]T) (vv map[bool]T, err error) {
func ReadMapBoolStr ¶
func ReadMapBoolStr(dec *Decoder, val map[bool]string, unquoteKey bool) (vv map[bool]string, err error)
ReadMapBoolStr read the next items from JSON contents as map key bool and value string.
func ReadMapBoolU32 ¶
func ReadMapBoolU32(dec *Decoder, val map[bool]uint32, unquoteKey, unquoteVal bool) (vv map[bool]uint32, err error)
ReadMapBoolU32 read the next items from JSON contents as map key bool and value uint32.
func ReadMapBoolU64 ¶
func ReadMapBoolU64(dec *Decoder, val map[bool]uint64, unquoteKey, unquoteVal bool) (vv map[bool]uint64, err error)
ReadMapBoolU64 read the next items from JSON contents as map key bool and value uint64.
func ReadMapBoolWKTAnyObject ¶
func ReadMapBoolWKTAnyObject(dec *Decoder, val map[bool]*anypb.Any, unquoteKey bool) (vv map[bool]*anypb.Any, err error)
ReadMapBoolWKTAnyObject read the next items from JSON contents as map key bool and value WKT any with codec proto.
func ReadMapBoolWKTAnyProto ¶
func ReadMapBoolWKTAnyProto(dec *Decoder, val map[bool]*anypb.Any, unquoteKey bool) (vv map[bool]*anypb.Any, err error)
ReadMapBoolWKTAnyProto read the next items from JSON contents as map key bool and value WKT any with codec proto.
func ReadMapBoolWKTDurHour ¶
func ReadMapBoolWKTDurHour(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurHour read the next items from JSON contents as map key bool and value WKT duration with codec hours.
func ReadMapBoolWKTDurMicro ¶
func ReadMapBoolWKTDurMicro(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurMicro read the next items from JSON contents as map key bool and value WKT duration with codec microsecond.
func ReadMapBoolWKTDurMilli ¶
func ReadMapBoolWKTDurMilli(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurMilli read the next items from JSON contents as map key bool and value WKT duration with codec millisecond.
func ReadMapBoolWKTDurMinute ¶
func ReadMapBoolWKTDurMinute(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurMinute read the next items from JSON contents as map key bool and value WKT duration with codec minutes.
func ReadMapBoolWKTDurNano ¶
func ReadMapBoolWKTDurNano(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurNano read the next items from JSON contents as map key bool and value WKT duration with codec nanosecond.
func ReadMapBoolWKTDurObject ¶
func ReadMapBoolWKTDurObject(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurObject read the next items from JSON contents as map key bool and value WKT duration with codec string.
func ReadMapBoolWKTDurSecond ¶
func ReadMapBoolWKTDurSecond(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurSecond read the next items from JSON contents as map key bool and value WKT duration with codec seconds.
func ReadMapBoolWKTDurTimeStr ¶
func ReadMapBoolWKTDurTimeStr(dec *Decoder, val map[bool]*durationpb.Duration, unquoteKey bool) (vv map[bool]*durationpb.Duration, err error)
ReadMapBoolWKTDurTimeStr read the next items from JSON contents as map key bool and value WKT duration with codec string.
func ReadMapBoolWKTTsLayout ¶
func ReadMapBoolWKTTsLayout(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey bool, layout string) (vv map[bool]*timestamppb.Timestamp, err error)
ReadMapBoolWKTTsLayout read the next items from JSON contents as map key bool and value WKT timestamp with codec time layout.
func ReadMapBoolWKTTsObject ¶
func ReadMapBoolWKTTsObject(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey bool) (vv map[bool]*timestamppb.Timestamp, err error)
ReadMapBoolWKTTsObject read the next items from JSON contents as map key bool and value WKT timestamp with codec time layout.
func ReadMapBoolWKTTsUnixMicro ¶
func ReadMapBoolWKTTsUnixMicro(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
ReadMapBoolWKTTsUnixMicro read the next items from JSON contents as map key bool and value WKT timestamp with codec unix micro.
func ReadMapBoolWKTTsUnixMilli ¶
func ReadMapBoolWKTTsUnixMilli(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
ReadMapBoolWKTTsUnixMilli read the next items from JSON contents as map key bool and value WKT timestamp with codec unix milli.
func ReadMapBoolWKTTsUnixNano ¶
func ReadMapBoolWKTTsUnixNano(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
ReadMapBoolWKTTsUnixNano read the next items from JSON contents as map key bool and value WKT timestamp with codec unix nano.
func ReadMapBoolWKTTsUnixSec ¶
func ReadMapBoolWKTTsUnixSec(dec *Decoder, val map[bool]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[bool]*timestamppb.Timestamp, err error)
ReadMapBoolWKTTsUnixSec read the next items from JSON contents as map key bool and value WKT timestamp with codec unix sec.
func ReadMapI32Bool ¶
func ReadMapI32Bool(dec *Decoder, val map[int32]bool, unquoteKey, unquoteVal bool) (vv map[int32]bool, err error)
ReadMapI32Bool read the next items from JSON contents as map key int32 and value bool.
func ReadMapI32Bytes ¶
func ReadMapI32Bytes(dec *Decoder, val map[int32][]byte, unquoteKey bool) (vv map[int32][]byte, err error)
ReadMapI32Bytes read the next items from JSON contents as map key int32 and value bytes.
func ReadMapI32EnumNum ¶
func ReadMapI32EnumNum[T protoreflect.Enum](dec *Decoder, val map[int32]T, unquoteKey, unquoteVal bool) (vv map[int32]T, err error)
ReadMapI32EnumNum read the next items from JSON contents as map key int32 and value enum with codec number.
func ReadMapI32EnumStr ¶
func ReadMapI32EnumStr[T protoreflect.Enum](dec *Decoder, val map[int32]T, unquoteKey bool) (vv map[int32]T, err error)
ReadMapI32EnumStr read the next items from JSON contents as map key int32 and value enum with codec string.
func ReadMapI32F32 ¶
func ReadMapI32F32(dec *Decoder, val map[int32]float32, unquoteKey, unquoteVal bool) (vv map[int32]float32, err error)
ReadMapI32F32 read the next items from JSON contents as map key int32 and value float32.
func ReadMapI32F64 ¶
func ReadMapI32F64(dec *Decoder, val map[int32]float64, unquoteKey, unquoteVal bool) (vv map[int32]float64, err error)
ReadMapI32F64 read the next items from JSON contents as map key int32 and value uint64.
func ReadMapI32I32 ¶
func ReadMapI32I32(dec *Decoder, val map[int32]int32, unquoteKey, unquoteVal bool) (vv map[int32]int32, err error)
ReadMapI32I32 read the next items from JSON contents as map key int32 and value int32.
func ReadMapI32I64 ¶
func ReadMapI32I64(dec *Decoder, val map[int32]int64, unquoteKey, unquoteVal bool) (vv map[int32]int64, err error)
ReadMapI32I64 read the next items from JSON contents as map key int32 and value int64.
func ReadMapI32Message ¶
func ReadMapI32Message[U any, T *U](dec *Decoder, val map[int32]T, unquoteKey bool) (vv map[int32]T, err error)
ReadMapI32Message read the next items from JSON contents as map key int32 and value message. func ReadMapI32Message[T PtrGoAny[U], U any](dec *Decoder, val map[int32]T) (vv map[int32]T, err error) {
func ReadMapI32Str ¶
func ReadMapI32Str(dec *Decoder, val map[int32]string, unquoteKey bool) (vv map[int32]string, err error)
ReadMapI32Str read the next items from JSON contents as map key int32 and value string.
func ReadMapI32U32 ¶
func ReadMapI32U32(dec *Decoder, val map[int32]uint32, unquoteKey, unquoteVal bool) (vv map[int32]uint32, err error)
ReadMapI32U32 read the next items from JSON contents as map key int32 and value uint32.
func ReadMapI32U64 ¶
func ReadMapI32U64(dec *Decoder, val map[int32]uint64, unquoteKey, unquoteVal bool) (vv map[int32]uint64, err error)
ReadMapI32U64 read the next items from JSON contents as map key int32 and value uint64.
func ReadMapI32WKTAnyObject ¶
func ReadMapI32WKTAnyObject(dec *Decoder, val map[int32]*anypb.Any, unquoteKey bool) (vv map[int32]*anypb.Any, err error)
ReadMapI32WKTAnyObject read the next items from JSON contents as map key int32 and value WKT any with codec proto.
func ReadMapI32WKTAnyProto ¶
func ReadMapI32WKTAnyProto(dec *Decoder, val map[int32]*anypb.Any, unquoteKey bool) (vv map[int32]*anypb.Any, err error)
ReadMapI32WKTAnyProto read the next items from JSON contents as map key int32 and value WKT any with codec proto.
func ReadMapI32WKTDurHour ¶
func ReadMapI32WKTDurHour(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurHour read the next items from JSON contents as map key int32 and value WKT duration with codec hours.
func ReadMapI32WKTDurMicro ¶
func ReadMapI32WKTDurMicro(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurMicro read the next items from JSON contents as map key int32 and value WKT duration with codec microsecond.
func ReadMapI32WKTDurMilli ¶
func ReadMapI32WKTDurMilli(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurMilli read the next items from JSON contents as map key int32 and value WKT duration with codec millisecond.
func ReadMapI32WKTDurMinute ¶
func ReadMapI32WKTDurMinute(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurMinute read the next items from JSON contents as map key int32 and value WKT duration with codec minutes.
func ReadMapI32WKTDurNano ¶
func ReadMapI32WKTDurNano(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurNano read the next items from JSON contents as map key int32 and value WKT duration with codec nanosecond.
func ReadMapI32WKTDurObject ¶
func ReadMapI32WKTDurObject(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurObject read the next items from JSON contents as map key int32 and value WKT duration with codec string.
func ReadMapI32WKTDurSecond ¶
func ReadMapI32WKTDurSecond(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurSecond read the next items from JSON contents as map key int32 and value WKT duration with codec seconds.
func ReadMapI32WKTDurTimeStr ¶
func ReadMapI32WKTDurTimeStr(dec *Decoder, val map[int32]*durationpb.Duration, unquoteKey bool) (vv map[int32]*durationpb.Duration, err error)
ReadMapI32WKTDurTimeStr read the next items from JSON contents as map key int32 and value WKT duration with codec string.
func ReadMapI32WKTTsLayout ¶
func ReadMapI32WKTTsLayout(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey bool, layout string) (vv map[int32]*timestamppb.Timestamp, err error)
ReadMapI32WKTTsLayout read the next items from JSON contents as map key int32 and value WKT timestamp with codec time layout.
func ReadMapI32WKTTsObject ¶
func ReadMapI32WKTTsObject(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey bool) (vv map[int32]*timestamppb.Timestamp, err error)
ReadMapI32WKTTsObject read the next items from JSON contents as map key int32 and value WKT timestamp with codec time layout.
func ReadMapI32WKTTsUnixMicro ¶
func ReadMapI32WKTTsUnixMicro(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int32]*timestamppb.Timestamp, err error)
ReadMapI32WKTTsUnixMicro read the next items from JSON contents as map key int32 and value WKT timestamp with codec unix micro.
func ReadMapI32WKTTsUnixMilli ¶
func ReadMapI32WKTTsUnixMilli(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int32]*timestamppb.Timestamp, err error)
ReadMapI32WKTTsUnixMilli read the next items from JSON contents as map key int32 and value WKT timestamp with codec unix milli.
func ReadMapI32WKTTsUnixNano ¶
func ReadMapI32WKTTsUnixNano(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int32]*timestamppb.Timestamp, err error)
ReadMapI32WKTTsUnixNano read the next items from JSON contents as map key int32 and value WKT timestamp with codec unix nano.
func ReadMapI32WKTTsUnixSec ¶
func ReadMapI32WKTTsUnixSec(dec *Decoder, val map[int32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int32]*timestamppb.Timestamp, err error)
ReadMapI32WKTTsUnixSec read the next items from JSON contents as map key int32 and value WKT timestamp with codec unix sec.
func ReadMapI64Bool ¶
func ReadMapI64Bool(dec *Decoder, val map[int64]bool, unquoteKey, unquoteVal bool) (vv map[int64]bool, err error)
ReadMapI64Bool read the next items from JSON contents as map key int64 and value bool.
func ReadMapI64Bytes ¶
func ReadMapI64Bytes(dec *Decoder, val map[int64][]byte, unquoteKey bool) (vv map[int64][]byte, err error)
ReadMapI64Bytes read the next items from JSON contents as map key int64 and value bytes.
func ReadMapI64EnumNum ¶
func ReadMapI64EnumNum[T protoreflect.Enum](dec *Decoder, val map[int64]T, unquoteKey, unquoteVal bool) (vv map[int64]T, err error)
ReadMapI64EnumNum read the next items from JSON contents as map key int64 and value enum with codec number.
func ReadMapI64EnumStr ¶
func ReadMapI64EnumStr[T protoreflect.Enum](dec *Decoder, val map[int64]T, unquoteKey bool) (vv map[int64]T, err error)
ReadMapI64EnumStr read the next items from JSON contents as map key int64 and value enum with codec string.
func ReadMapI64F32 ¶
func ReadMapI64F32(dec *Decoder, val map[int64]float32, unquoteKey, unquoteVal bool) (vv map[int64]float32, err error)
ReadMapI64F32 read the next items from JSON contents as map key int64 and value float32.
func ReadMapI64F64 ¶
func ReadMapI64F64(dec *Decoder, val map[int64]float64, unquoteKey, unquoteVal bool) (vv map[int64]float64, err error)
ReadMapI64F64 read the next items from JSON contents as map key int64 and value uint64.
func ReadMapI64I32 ¶
func ReadMapI64I32(dec *Decoder, val map[int64]int32, unquoteKey, unquoteVal bool) (vv map[int64]int32, err error)
ReadMapI64I32 read the next items from JSON contents as map key int64 and value int32.
func ReadMapI64I64 ¶
func ReadMapI64I64(dec *Decoder, val map[int64]int64, unquoteKey, unquoteVal bool) (vv map[int64]int64, err error)
ReadMapI64I64 read the next items from JSON contents as map key int64 and value int64.
func ReadMapI64Message ¶
func ReadMapI64Message[U any, T *U](dec *Decoder, val map[int64]T, unquoteKey bool) (vv map[int64]T, err error)
ReadMapI64Message read the next items from JSON contents as map key int64 and value message. func ReadMapI64Message[T PtrGoAny[U], U any](dec *Decoder, val map[int64]T) (vv map[int64]T, err error) {
func ReadMapI64Str ¶
func ReadMapI64Str(dec *Decoder, val map[int64]string, unquoteKey bool) (vv map[int64]string, err error)
ReadMapI64Str read the next items from JSON contents as map key int64 and value string.
func ReadMapI64U32 ¶
func ReadMapI64U32(dec *Decoder, val map[int64]uint32, unquoteKey, unquoteVal bool) (vv map[int64]uint32, err error)
ReadMapI64U32 read the next items from JSON contents as map key int64 and value uint32.
func ReadMapI64U64 ¶
func ReadMapI64U64(dec *Decoder, val map[int64]uint64, unquoteKey, unquoteVal bool) (vv map[int64]uint64, err error)
ReadMapI64U64 read the next items from JSON contents as map key int64 and value uint64.
func ReadMapI64WKTAnyObject ¶
func ReadMapI64WKTAnyObject(dec *Decoder, val map[int64]*anypb.Any, unquoteKey bool) (vv map[int64]*anypb.Any, err error)
ReadMapI64WKTAnyObject read the next items from JSON contents as map key int64 and value WKT any with codec proto.
func ReadMapI64WKTAnyProto ¶
func ReadMapI64WKTAnyProto(dec *Decoder, val map[int64]*anypb.Any, unquoteKey bool) (vv map[int64]*anypb.Any, err error)
ReadMapI64WKTAnyProto read the next items from JSON contents as map key int64 and value WKT any with codec proto.
func ReadMapI64WKTDurHour ¶
func ReadMapI64WKTDurHour(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurHour read the next items from JSON contents as map key int64 and value WKT duration with codec hours.
func ReadMapI64WKTDurMicro ¶
func ReadMapI64WKTDurMicro(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurMicro read the next items from JSON contents as map key int64 and value WKT duration with codec microsecond.
func ReadMapI64WKTDurMilli ¶
func ReadMapI64WKTDurMilli(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurMilli read the next items from JSON contents as map key int64 and value WKT duration with codec millisecond.
func ReadMapI64WKTDurMinute ¶
func ReadMapI64WKTDurMinute(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurMinute read the next items from JSON contents as map key int64 and value WKT duration with codec minutes.
func ReadMapI64WKTDurNano ¶
func ReadMapI64WKTDurNano(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurNano read the next items from JSON contents as map key int64 and value WKT duration with codec nanosecond.
func ReadMapI64WKTDurObject ¶
func ReadMapI64WKTDurObject(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurObject read the next items from JSON contents as map key int64 and value WKT duration with codec string.
func ReadMapI64WKTDurSecond ¶
func ReadMapI64WKTDurSecond(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurSecond read the next items from JSON contents as map key int64 and value WKT duration with codec seconds.
func ReadMapI64WKTDurTimeStr ¶
func ReadMapI64WKTDurTimeStr(dec *Decoder, val map[int64]*durationpb.Duration, unquoteKey bool) (vv map[int64]*durationpb.Duration, err error)
ReadMapI64WKTDurTimeStr read the next items from JSON contents as map key int64 and value WKT duration with codec string.
func ReadMapI64WKTTsLayout ¶
func ReadMapI64WKTTsLayout(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey bool, layout string) (vv map[int64]*timestamppb.Timestamp, err error)
ReadMapI64WKTTsLayout read the next items from JSON contents as map key int64 and value WKT timestamp with codec time layout.
func ReadMapI64WKTTsObject ¶
func ReadMapI64WKTTsObject(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey bool) (vv map[int64]*timestamppb.Timestamp, err error)
ReadMapI64WKTTsObject read the next items from JSON contents as map key int64 and value WKT timestamp with codec time layout.
func ReadMapI64WKTTsUnixMicro ¶
func ReadMapI64WKTTsUnixMicro(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int64]*timestamppb.Timestamp, err error)
ReadMapI64WKTTsUnixMicro read the next items from JSON contents as map key int64 and value WKT timestamp with codec unix micro.
func ReadMapI64WKTTsUnixMilli ¶
func ReadMapI64WKTTsUnixMilli(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int64]*timestamppb.Timestamp, err error)
ReadMapI64WKTTsUnixMilli read the next items from JSON contents as map key int64 and value WKT timestamp with codec unix milli.
func ReadMapI64WKTTsUnixNano ¶
func ReadMapI64WKTTsUnixNano(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int64]*timestamppb.Timestamp, err error)
ReadMapI64WKTTsUnixNano read the next items from JSON contents as map key int64 and value WKT timestamp with codec unix nano.
func ReadMapI64WKTTsUnixSec ¶
func ReadMapI64WKTTsUnixSec(dec *Decoder, val map[int64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[int64]*timestamppb.Timestamp, err error)
ReadMapI64WKTTsUnixSec read the next items from JSON contents as map key int64 and value WKT timestamp with codec unix sec.
func ReadMapStrBool ¶
func ReadMapStrBool(dec *Decoder, val map[string]bool, unquoteVal bool) (vv map[string]bool, err error)
ReadMapStrBool read the next items from JSON contents as map key string and value bool.
func ReadMapStrBytes ¶
ReadMapStrBytes read the next items from JSON contents as map key string and value bytes.
func ReadMapStrEnumNum ¶
func ReadMapStrEnumNum[T protoreflect.Enum](dec *Decoder, val map[string]T, unquoteVal bool) (vv map[string]T, err error)
ReadMapStrEnumNum read the next items from JSON contents as map key string and value enum with codec number.
func ReadMapStrEnumStr ¶
func ReadMapStrEnumStr[T protoreflect.Enum](dec *Decoder, val map[string]T) (vv map[string]T, err error)
ReadMapStrEnumStr read the next items from JSON contents as map key string and value enum with codec string.
func ReadMapStrF32 ¶
func ReadMapStrF32(dec *Decoder, val map[string]float32, unquoteVal bool) (vv map[string]float32, err error)
ReadMapStrF32 read the next items from JSON contents as map key string and value float32.
func ReadMapStrF64 ¶
func ReadMapStrF64(dec *Decoder, val map[string]float64, unquoteVal bool) (vv map[string]float64, err error)
ReadMapStrF64 read the next items from JSON contents as map key string and value uint64.
func ReadMapStrI32 ¶
func ReadMapStrI32(dec *Decoder, val map[string]int32, unquoteVal bool) (vv map[string]int32, err error)
ReadMapStrI32 read the next items from JSON contents as map key string and value int32.
func ReadMapStrI64 ¶
func ReadMapStrI64(dec *Decoder, val map[string]int64, unquoteVal bool) (vv map[string]int64, err error)
ReadMapStrI64 read the next items from JSON contents as map key string and value int64.
func ReadMapStrMessage ¶
ReadMapStrMessage read the next items from JSON contents as map key string and value message. func ReadMapStrMessage[T PtrGoAny[U], U any](dec *Decoder, val map[string]T) (vv map[string]T, err error) {
func ReadMapStrStr ¶
ReadMapStrStr read the next items from JSON contents as map key string and value string.
func ReadMapStrU32 ¶
func ReadMapStrU32(dec *Decoder, val map[string]uint32, unquoteVal bool) (vv map[string]uint32, err error)
ReadMapStrU32 read the next items from JSON contents as map key string and value uint32.
func ReadMapStrU64 ¶
func ReadMapStrU64(dec *Decoder, val map[string]uint64, unquoteVal bool) (vv map[string]uint64, err error)
ReadMapStrU64 read the next items from JSON contents as map key string and value uint64.
func ReadMapStrWKTAnyObject ¶
func ReadMapStrWKTAnyObject(dec *Decoder, val map[string]*anypb.Any, ) (vv map[string]*anypb.Any, err error)
ReadMapStrWKTAnyObject read the next items from JSON contents as map key string and value WKT any with codec proto.
func ReadMapStrWKTAnyProto ¶
func ReadMapStrWKTAnyProto(dec *Decoder, val map[string]*anypb.Any, ) (vv map[string]*anypb.Any, err error)
ReadMapStrWKTAnyProto read the next items from JSON contents as map key string and value WKT any with codec proto.
func ReadMapStrWKTDurHour ¶
func ReadMapStrWKTDurHour(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurHour read the next items from JSON contents as map key string and value WKT duration with codec hours.
func ReadMapStrWKTDurMicro ¶
func ReadMapStrWKTDurMicro(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurMicro read the next items from JSON contents as map key string and value WKT duration with codec microsecond.
func ReadMapStrWKTDurMilli ¶
func ReadMapStrWKTDurMilli(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurMilli read the next items from JSON contents as map key string and value WKT duration with codec millisecond.
func ReadMapStrWKTDurMinute ¶
func ReadMapStrWKTDurMinute(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurMinute read the next items from JSON contents as map key string and value WKT duration with codec minutes.
func ReadMapStrWKTDurNano ¶
func ReadMapStrWKTDurNano(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurNano read the next items from JSON contents as map key string and value WKT duration with codec nanosecond.
func ReadMapStrWKTDurObject ¶
func ReadMapStrWKTDurObject(dec *Decoder, val map[string]*durationpb.Duration, ) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurObject read the next items from JSON contents as map key string and value WKT duration with codec string.
func ReadMapStrWKTDurSecond ¶
func ReadMapStrWKTDurSecond(dec *Decoder, val map[string]*durationpb.Duration, unquoteVal bool) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurSecond read the next items from JSON contents as map key string and value WKT duration with codec seconds.
func ReadMapStrWKTDurTimeStr ¶
func ReadMapStrWKTDurTimeStr(dec *Decoder, val map[string]*durationpb.Duration, ) (vv map[string]*durationpb.Duration, err error)
ReadMapStrWKTDurTimeStr read the next items from JSON contents as map key string and value WKT duration with codec string.
func ReadMapStrWKTTsLayout ¶
func ReadMapStrWKTTsLayout(dec *Decoder, val map[string]*timestamppb.Timestamp, layout string) (vv map[string]*timestamppb.Timestamp, err error)
ReadMapStrWKTTsLayout read the next items from JSON contents as map key string and value WKT timestamp with codec time layout.
func ReadMapStrWKTTsObject ¶
func ReadMapStrWKTTsObject(dec *Decoder, val map[string]*timestamppb.Timestamp, ) (vv map[string]*timestamppb.Timestamp, err error)
ReadMapStrWKTTsObject read the next items from JSON contents as map key string and value WKT timestamp with codec time layout.
func ReadMapStrWKTTsUnixMicro ¶
func ReadMapStrWKTTsUnixMicro(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
ReadMapStrWKTTsUnixMicro read the next items from JSON contents as map key string and value WKT timestamp with codec unix micro.
func ReadMapStrWKTTsUnixMilli ¶
func ReadMapStrWKTTsUnixMilli(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
ReadMapStrWKTTsUnixMilli read the next items from JSON contents as map key string and value WKT timestamp with codec unix milli.
func ReadMapStrWKTTsUnixNano ¶
func ReadMapStrWKTTsUnixNano(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
ReadMapStrWKTTsUnixNano read the next items from JSON contents as map key string and value WKT timestamp with codec unix nano.
func ReadMapStrWKTTsUnixSec ¶
func ReadMapStrWKTTsUnixSec(dec *Decoder, val map[string]*timestamppb.Timestamp, unquoteVal bool) (vv map[string]*timestamppb.Timestamp, err error)
ReadMapStrWKTTsUnixSec read the next items from JSON contents as map key string and value WKT timestamp with codec unix sec.
func ReadMapU32Bool ¶
func ReadMapU32Bool(dec *Decoder, val map[uint32]bool, unquoteKey, unquoteVal bool) (vv map[uint32]bool, err error)
ReadMapU32Bool read the next items from JSON contents as map key uint32 and value bool.
func ReadMapU32Bytes ¶
func ReadMapU32Bytes(dec *Decoder, val map[uint32][]byte, unquoteKey bool) (vv map[uint32][]byte, err error)
ReadMapU32Bytes read the next items from JSON contents as map key uint32 and value bytes.
func ReadMapU32EnumNum ¶
func ReadMapU32EnumNum[T protoreflect.Enum](dec *Decoder, val map[uint32]T, unquoteKey, unquoteVal bool) (vv map[uint32]T, err error)
ReadMapU32EnumNum read the next items from JSON contents as map key uint32 and value enum with codec number.
func ReadMapU32EnumStr ¶
func ReadMapU32EnumStr[T protoreflect.Enum](dec *Decoder, val map[uint32]T, unquoteKey bool) (vv map[uint32]T, err error)
ReadMapU32EnumStr read the next items from JSON contents as map key uint32 and value enum with codec string.
func ReadMapU32F32 ¶
func ReadMapU32F32(dec *Decoder, val map[uint32]float32, unquoteKey, unquoteVal bool) (vv map[uint32]float32, err error)
ReadMapU32F32 read the next items from JSON contents as map key uint32 and value float32.
func ReadMapU32F64 ¶
func ReadMapU32F64(dec *Decoder, val map[uint32]float64, unquoteKey, unquoteVal bool) (vv map[uint32]float64, err error)
ReadMapU32F64 read the next items from JSON contents as map key uint32 and value uint64.
func ReadMapU32I32 ¶
func ReadMapU32I32(dec *Decoder, val map[uint32]int32, unquoteKey, unquoteVal bool) (vv map[uint32]int32, err error)
ReadMapU32I32 read the next items from JSON contents as map key uint32 and value int32.
func ReadMapU32I64 ¶
func ReadMapU32I64(dec *Decoder, val map[uint32]int64, unquoteKey, unquoteVal bool) (vv map[uint32]int64, err error)
ReadMapU32I64 read the next items from JSON contents as map key uint32 and value int64.
func ReadMapU32Message ¶
func ReadMapU32Message[U any, T *U](dec *Decoder, val map[uint32]T, unquoteKey bool) (vv map[uint32]T, err error)
ReadMapU32Message read the next items from JSON contents as map key uint32 and value message. func ReadMapU32Message[T PtrGoAny[U], U any](dec *Decoder, val map[uint32]T) (vv map[uint32]T, err error) {
func ReadMapU32Str ¶
func ReadMapU32Str(dec *Decoder, val map[uint32]string, unquoteKey bool) (vv map[uint32]string, err error)
ReadMapU32Str read the next items from JSON contents as map key uint32 and value string.
func ReadMapU32U32 ¶
func ReadMapU32U32(dec *Decoder, val map[uint32]uint32, unquoteKey, unquoteVal bool) (vv map[uint32]uint32, err error)
ReadMapU32U32 read the next items from JSON contents as map key uint32 and value uint32.
func ReadMapU32U64 ¶
func ReadMapU32U64(dec *Decoder, val map[uint32]uint64, unquoteKey, unquoteVal bool) (vv map[uint32]uint64, err error)
ReadMapU32U64 read the next items from JSON contents as map key uint32 and value uint64.
func ReadMapU32WKTAnyObject ¶
func ReadMapU32WKTAnyObject(dec *Decoder, val map[uint32]*anypb.Any, unquoteKey bool) (vv map[uint32]*anypb.Any, err error)
ReadMapU32WKTAnyObject read the next items from JSON contents as map key uint32 and value WKT any with codec proto.
func ReadMapU32WKTAnyProto ¶
func ReadMapU32WKTAnyProto(dec *Decoder, val map[uint32]*anypb.Any, unquoteKey bool) (vv map[uint32]*anypb.Any, err error)
ReadMapU32WKTAnyProto read the next items from JSON contents as map key uint32 and value WKT any with codec proto.
func ReadMapU32WKTDurHour ¶
func ReadMapU32WKTDurHour(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurHour read the next items from JSON contents as map key uint32 and value WKT duration with codec hours.
func ReadMapU32WKTDurMicro ¶
func ReadMapU32WKTDurMicro(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurMicro read the next items from JSON contents as map key uint32 and value WKT duration with codec microsecond.
func ReadMapU32WKTDurMilli ¶
func ReadMapU32WKTDurMilli(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurMilli read the next items from JSON contents as map key uint32 and value WKT duration with codec millisecond.
func ReadMapU32WKTDurMinute ¶
func ReadMapU32WKTDurMinute(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurMinute read the next items from JSON contents as map key uint32 and value WKT duration with codec minutes.
func ReadMapU32WKTDurNano ¶
func ReadMapU32WKTDurNano(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurNano read the next items from JSON contents as map key uint32 and value WKT duration with codec nanosecond.
func ReadMapU32WKTDurObject ¶
func ReadMapU32WKTDurObject(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurObject read the next items from JSON contents as map key uint32 and value WKT duration with codec string.
func ReadMapU32WKTDurSecond ¶
func ReadMapU32WKTDurSecond(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurSecond read the next items from JSON contents as map key uint32 and value WKT duration with codec seconds.
func ReadMapU32WKTDurTimeStr ¶
func ReadMapU32WKTDurTimeStr(dec *Decoder, val map[uint32]*durationpb.Duration, unquoteKey bool) (vv map[uint32]*durationpb.Duration, err error)
ReadMapU32WKTDurTimeStr read the next items from JSON contents as map key uint32 and value WKT duration with codec string.
func ReadMapU32WKTTsLayout ¶
func ReadMapU32WKTTsLayout(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey bool, layout string) (vv map[uint32]*timestamppb.Timestamp, err error)
ReadMapU32WKTTsLayout read the next items from JSON contents as map key uint32 and value WKT timestamp with codec time layout.
func ReadMapU32WKTTsObject ¶
func ReadMapU32WKTTsObject(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey bool) (vv map[uint32]*timestamppb.Timestamp, err error)
ReadMapU32WKTTsObject read the next items from JSON contents as map key uint32 and value WKT timestamp with codec time layout.
func ReadMapU32WKTTsUnixMicro ¶
func ReadMapU32WKTTsUnixMicro(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint32]*timestamppb.Timestamp, err error)
ReadMapU32WKTTsUnixMicro read the next items from JSON contents as map key uint32 and value WKT timestamp with codec unix micro.
func ReadMapU32WKTTsUnixMilli ¶
func ReadMapU32WKTTsUnixMilli(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint32]*timestamppb.Timestamp, err error)
ReadMapU32WKTTsUnixMilli read the next items from JSON contents as map key uint32 and value WKT timestamp with codec unix milli.
func ReadMapU32WKTTsUnixNano ¶
func ReadMapU32WKTTsUnixNano(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint32]*timestamppb.Timestamp, err error)
ReadMapU32WKTTsUnixNano read the next items from JSON contents as map key uint32 and value WKT timestamp with codec unix nano.
func ReadMapU32WKTTsUnixSec ¶
func ReadMapU32WKTTsUnixSec(dec *Decoder, val map[uint32]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint32]*timestamppb.Timestamp, err error)
ReadMapU32WKTTsUnixSec read the next items from JSON contents as map key uint32 and value WKT timestamp with codec unix sec.
func ReadMapU64Bool ¶
func ReadMapU64Bool(dec *Decoder, val map[uint64]bool, unquoteKey, unquoteVal bool) (vv map[uint64]bool, err error)
ReadMapU64Bool read the next items from JSON contents as map key uint64 and value bool.
func ReadMapU64Bytes ¶
func ReadMapU64Bytes(dec *Decoder, val map[uint64][]byte, unquoteKey bool) (vv map[uint64][]byte, err error)
ReadMapU64Bytes read the next items from JSON contents as map key uint64 and value bytes.
func ReadMapU64EnumNum ¶
func ReadMapU64EnumNum[T protoreflect.Enum](dec *Decoder, val map[uint64]T, unquoteKey, unquoteVal bool) (vv map[uint64]T, err error)
ReadMapU64EnumNum read the next items from JSON contents as map key uint64 and value enum with codec number.
func ReadMapU64EnumStr ¶
func ReadMapU64EnumStr[T protoreflect.Enum](dec *Decoder, val map[uint64]T, unquoteKey bool) (vv map[uint64]T, err error)
ReadMapU64EnumStr read the next items from JSON contents as map key uint64 and value enum with codec string.
func ReadMapU64F32 ¶
func ReadMapU64F32(dec *Decoder, val map[uint64]float32, unquoteKey, unquoteVal bool) (vv map[uint64]float32, err error)
ReadMapU64F32 read the next items from JSON contents as map key uint64 and value float32.
func ReadMapU64F64 ¶
func ReadMapU64F64(dec *Decoder, val map[uint64]float64, unquoteKey, unquoteVal bool) (vv map[uint64]float64, err error)
ReadMapU64F64 read the next items from JSON contents as map key uint64 and value uint64.
func ReadMapU64I32 ¶
func ReadMapU64I32(dec *Decoder, val map[uint64]int32, unquoteKey, unquoteVal bool) (vv map[uint64]int32, err error)
ReadMapU64I32 read the next items from JSON contents as map key uint64 and value int32.
func ReadMapU64I64 ¶
func ReadMapU64I64(dec *Decoder, val map[uint64]int64, unquoteKey, unquoteVal bool) (vv map[uint64]int64, err error)
ReadMapU64I64 read the next items from JSON contents as map key uint64 and value int64.
func ReadMapU64Message ¶
func ReadMapU64Message[U any, T *U](dec *Decoder, val map[uint64]T, unquoteKey bool) (vv map[uint64]T, err error)
ReadMapU64Message read the next items from JSON contents as map key uint64 and value message. func ReadMapU64Message[T PtrGoAny[U], U any](dec *Decoder, val map[uint64]T) (vv map[uint64]T, err error) {
func ReadMapU64Str ¶
func ReadMapU64Str(dec *Decoder, val map[uint64]string, unquoteKey bool) (vv map[uint64]string, err error)
ReadMapU64Str read the next items from JSON contents as map key uint64 and value string.
func ReadMapU64U32 ¶
func ReadMapU64U32(dec *Decoder, val map[uint64]uint32, unquoteKey, unquoteVal bool) (vv map[uint64]uint32, err error)
ReadMapU64U32 read the next items from JSON contents as map key uint64 and value uint32.
func ReadMapU64U64 ¶
func ReadMapU64U64(dec *Decoder, val map[uint64]uint64, unquoteKey, unquoteVal bool) (vv map[uint64]uint64, err error)
ReadMapU64U64 read the next items from JSON contents as map key uint64 and value uint64.
func ReadMapU64WKTAnyObject ¶
func ReadMapU64WKTAnyObject(dec *Decoder, val map[uint64]*anypb.Any, unquoteKey bool) (vv map[uint64]*anypb.Any, err error)
ReadMapU64WKTAnyObject read the next items from JSON contents as map key uint64 and value WKT any with codec proto.
func ReadMapU64WKTAnyProto ¶
func ReadMapU64WKTAnyProto(dec *Decoder, val map[uint64]*anypb.Any, unquoteKey bool) (vv map[uint64]*anypb.Any, err error)
ReadMapU64WKTAnyProto read the next items from JSON contents as map key uint64 and value WKT any with codec proto.
func ReadMapU64WKTDurHour ¶
func ReadMapU64WKTDurHour(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurHour read the next items from JSON contents as map key uint64 and value WKT duration with codec hours.
func ReadMapU64WKTDurMicro ¶
func ReadMapU64WKTDurMicro(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurMicro read the next items from JSON contents as map key uint64 and value WKT duration with codec microsecond.
func ReadMapU64WKTDurMilli ¶
func ReadMapU64WKTDurMilli(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurMilli read the next items from JSON contents as map key uint64 and value WKT duration with codec millisecond.
func ReadMapU64WKTDurMinute ¶
func ReadMapU64WKTDurMinute(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurMinute read the next items from JSON contents as map key uint64 and value WKT duration with codec minutes.
func ReadMapU64WKTDurNano ¶
func ReadMapU64WKTDurNano(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurNano read the next items from JSON contents as map key uint64 and value WKT duration with codec nanosecond.
func ReadMapU64WKTDurObject ¶
func ReadMapU64WKTDurObject(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurObject read the next items from JSON contents as map key uint64 and value WKT duration with codec string.
func ReadMapU64WKTDurSecond ¶
func ReadMapU64WKTDurSecond(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey, unquoteVal bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurSecond read the next items from JSON contents as map key uint64 and value WKT duration with codec seconds.
func ReadMapU64WKTDurTimeStr ¶
func ReadMapU64WKTDurTimeStr(dec *Decoder, val map[uint64]*durationpb.Duration, unquoteKey bool) (vv map[uint64]*durationpb.Duration, err error)
ReadMapU64WKTDurTimeStr read the next items from JSON contents as map key uint64 and value WKT duration with codec string.
func ReadMapU64WKTTsLayout ¶
func ReadMapU64WKTTsLayout(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey bool, layout string) (vv map[uint64]*timestamppb.Timestamp, err error)
ReadMapU64WKTTsLayout read the next items from JSON contents as map key uint64 and value WKT timestamp with codec time layout.
func ReadMapU64WKTTsObject ¶
func ReadMapU64WKTTsObject(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey bool) (vv map[uint64]*timestamppb.Timestamp, err error)
ReadMapU64WKTTsObject read the next items from JSON contents as map key uint64 and value WKT timestamp with codec time layout.
func ReadMapU64WKTTsUnixMicro ¶
func ReadMapU64WKTTsUnixMicro(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint64]*timestamppb.Timestamp, err error)
ReadMapU64WKTTsUnixMicro read the next items from JSON contents as map key uint64 and value WKT timestamp with codec unix micro.
func ReadMapU64WKTTsUnixMilli ¶
func ReadMapU64WKTTsUnixMilli(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint64]*timestamppb.Timestamp, err error)
ReadMapU64WKTTsUnixMilli read the next items from JSON contents as map key uint64 and value WKT timestamp with codec unix milli.
func ReadMapU64WKTTsUnixNano ¶
func ReadMapU64WKTTsUnixNano(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint64]*timestamppb.Timestamp, err error)
ReadMapU64WKTTsUnixNano read the next items from JSON contents as map key uint64 and value WKT timestamp with codec unix nano.
func ReadMapU64WKTTsUnixSec ¶
func ReadMapU64WKTTsUnixSec(dec *Decoder, val map[uint64]*timestamppb.Timestamp, unquoteKey, unquoteVal bool) (vv map[uint64]*timestamppb.Timestamp, err error)
ReadMapU64WKTTsUnixSec read the next items from JSON contents as map key uint64 and value WKT timestamp with codec unix sec.
func ReadPtrBool ¶
ReadPtrBool read the next items from JSON contents as value of bool.
func ReadPtrEnumNum ¶
func ReadPtrEnumNum[T protoreflect.Enum](dec *Decoder, val *T, unquote bool) (vv *T, err error)
ReadPtrEnumNum read the next items from JSON contents as value of enum with codec number.
func ReadPtrEnumStr ¶
func ReadPtrEnumStr[T protoreflect.Enum](dec *Decoder, val *T) (vv *T, err error)
ReadPtrEnumStr read the next items from JSON contents as value of enum with codec string.
func ReadPtrF32 ¶
ReadPtrF32 read the next items from JSON contents as value of float32.
func ReadPtrF64 ¶
ReadPtrF64 read the next items from JSON contents as value of uint64.
func ReadPtrI32 ¶
ReadPtrI32 read the next items from JSON contents as value of int32.
func ReadPtrI64 ¶
ReadPtrI64 read the next items from JSON contents as value of int64.
func ReadPtrStr ¶
ReadPtrStr read the next items from JSON contents as value of string.
func ReadPtrU32 ¶
ReadPtrU32 read the next items from JSON contents as value of uint32.
func ReadPtrU64 ¶
ReadPtrU64 read the next items from JSON contents as value of uint64.
func ReadValBool ¶
ReadValBool read the next items from JSON contents as value of bool.
func ReadValBytes ¶
ReadValBytes read the next items from JSON contents as value of bytes.
func ReadValEnumNum ¶
func ReadValEnumNum[T protoreflect.Enum](dec *Decoder, val T, unquote bool) (vv T, err error)
ReadValEnumNum read the next items from JSON contents as value of enum with codec number.
func ReadValEnumStr ¶
func ReadValEnumStr[T protoreflect.Enum](dec *Decoder, val T) (vv T, err error)
ReadValEnumStr read the next items from JSON contents as value of enum with codec string.
func ReadValF32 ¶
ReadValF32 read the next items from JSON contents as value of float32.
func ReadValF64 ¶
ReadValF64 read the next items from JSON contents as value of uint64.
func ReadValI32 ¶
ReadValI32 read the next items from JSON contents as value of int32.
func ReadValI64 ¶
ReadValI64 read the next items from JSON contents as value of int64.
func ReadValMessage ¶
ReadValMessage read the next items from JSON contents as value of message. func ReadValMessage[T PtrGoAny[U], U any](dec *Decoder, val []T) (vv T, err error) {
func ReadValStr ¶
ReadValStr read the next items from JSON contents as value of string.
func ReadValU32 ¶
ReadValU32 read the next items from JSON contents as value of uint32.
func ReadValU64 ¶
ReadValU64 read the next items from JSON contents as value of uint64.
func ReadValWKTAnyObject ¶
ReadValWKTAnyObject read the next items from JSON contents as value of WKT any with codec proto.
func ReadValWKTAnyProto ¶
ReadValWKTAnyProto read the next items from JSON contents as value of WKT any with codec proto.
func ReadValWKTDurHour ¶
func ReadValWKTDurHour(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
ReadValWKTDurHour read the next items from JSON contents as value of WKT duration with codec hours.
func ReadValWKTDurMicro ¶
func ReadValWKTDurMicro(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
ReadValWKTDurMicro read the next items from JSON contents as value of WKT duration with codec microsecond.
func ReadValWKTDurMilli ¶
func ReadValWKTDurMilli(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
ReadValWKTDurMilli read the next items from JSON contents as value of WKT duration with codec millisecond.
func ReadValWKTDurMinute ¶
func ReadValWKTDurMinute(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
ReadValWKTDurMinute read the next items from JSON contents as value of WKT duration with codec minutes.
func ReadValWKTDurNano ¶
func ReadValWKTDurNano(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
ReadValWKTDurNano read the next items from JSON contents as value of WKT duration with codec nanosecond.
func ReadValWKTDurObject ¶
func ReadValWKTDurObject(dec *Decoder, val *durationpb.Duration) (vv *durationpb.Duration, err error)
ReadValWKTDurObject read the next items from JSON contents as value of WKT duration with codec string.
func ReadValWKTDurSecond ¶
func ReadValWKTDurSecond(dec *Decoder, val *durationpb.Duration, unquote bool) (vv *durationpb.Duration, err error)
ReadValWKTDurSecond read the next items from JSON contents as value of WKT duration with codec seconds.
func ReadValWKTDurTimeStr ¶
func ReadValWKTDurTimeStr(dec *Decoder, val *durationpb.Duration) (vv *durationpb.Duration, err error)
ReadValWKTDurTimeStr read the next items from JSON contents as value of WKT duration with codec string.
func ReadValWKTTsLayout ¶
func ReadValWKTTsLayout(dec *Decoder, val *timestamppb.Timestamp, layout string) (vv *timestamppb.Timestamp, err error)
ReadValWKTTsLayout read the next items from JSON contents as value of WKT timestamp with codec time layout.
func ReadValWKTTsObject ¶
func ReadValWKTTsObject(dec *Decoder, val *timestamppb.Timestamp) (vv *timestamppb.Timestamp, err error)
ReadValWKTTsObject read the next items from JSON contents as value of WKT timestamp with codec time layout.
func ReadValWKTTsUnixMicro ¶
func ReadValWKTTsUnixMicro(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
ReadValWKTTsUnixMicro read the next items from JSON contents as value of WKT timestamp with codec unix micro.
func ReadValWKTTsUnixMilli ¶
func ReadValWKTTsUnixMilli(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
ReadValWKTTsUnixMilli read the next items from JSON contents as value of WKT timestamp with codec unix milli.
func ReadValWKTTsUnixNano ¶
func ReadValWKTTsUnixNano(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
ReadValWKTTsUnixNano read the next items from JSON contents as value of WKT timestamp with codec unix nano.
func ReadValWKTTsUnixSec ¶
func ReadValWKTTsUnixSec(dec *Decoder, val *timestamppb.Timestamp, unquote bool) (vv *timestamppb.Timestamp, err error)
ReadValWKTTsUnixSec read the next items from JSON contents as value of WKT timestamp with codec unix sec.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func (*Decoder) BeforeReadList ¶
func (*Decoder) BeforeReadMap ¶
func (*Decoder) BeforeReadNext ¶
func (*Decoder) BeforeReadObject ¶
func (*Decoder) BeforeScanJSON ¶
BeforeScanJSON only used to check if the JSON is NULL before loop scan.
func (*Decoder) BeforeScanNext ¶
BeforeScanNext only used to before read JSON key that in top level.
func (*Decoder) DiscardValue ¶
DiscardValue used to discard the next value.
func (*Decoder) NextLiteralIsNULL ¶
NextLiteralIsNULL only used to check if the next value that type of pointer value is NULL.
func (*Decoder) ReadJSONKey ¶
ReadJSONKey used to read JSON key that in top level. Notice: The `jsonKey` is unsafe after unmarshal end.
func (*Decoder) ReadObjectKey ¶
ReadObjectKey is wrappers for readObjectKey. The `objKey` is unsafe after unmarshal end.
type Error ¶
type Error struct { JSONKey string // The key of JSON. Maybe empty if error in top level. Offset int // The offset in JSON input. Reason string // The message of error reason. }
Error used for invalid format of JSON contents.
type InternalError ¶
type InternalError struct { Reason string // The message of error reason. Stack string // The runtime stack of error occurs. }
InternalError is used as error when we end up with something that shouldn't happen. It can indicate a bug in the JSON decoder, or that something is editing the data slice while the decoder executes.
func (*InternalError) Error ¶
func (e *InternalError) Error() string
type ParsePhase ¶
type ParsePhase int8
Source Files
¶
- constants.go
- convert.go
- decode_map_key.go
- decode_pointer.go
- decode_value.go
- decode_wkt.go
- decoder.go
- error.go
- error_internal.go
- read_common.go
- read_list.go
- read_map_bool.go
- read_map_int32.go
- read_map_int64.go
- read_map_string.go
- read_map_uint32.go
- read_map_uint64.go
- read_pointer.go
- read_value.go
- scanner.go
- strings.go
- utils.go