Versions in this module Expand all Collapse all v3 v3.0.2 Mar 21, 2022 Changes in this version + func Compact(dst *bytes.Buffer, src []byte) error + func HTMLEscape(dst *bytes.Buffer, src []byte) + func Indent(dst *bytes.Buffer, src []byte, prefix, indent string) error + func Marshal(v interface{}) ([]byte, error) + func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) + func Unmarshal(data []byte, v interface{}) error + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Buffered() io.Reader + func (dec *Decoder) Decode(v interface{}) error + func (dec *Decoder) More() bool + func (dec *Decoder) SetNumberType(t NumberUnmarshalType) + func (dec *Decoder) Token() (Token, error) + func (dec *Decoder) UseNumber() + type Delim rune + func (d Delim) String() string + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (enc *Encoder) Encode(v interface{}) error + type InvalidUTF8Error struct + S string + func (e *InvalidUTF8Error) Error() string + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type Marshaler interface + MarshalJSON func() ([]byte, error) + type MarshalerError struct + Err error + Type reflect.Type + func (e *MarshalerError) Error() string + type Number string + func (n Number) Float64() (float64, error) + func (n Number) Int64() (int64, error) + func (n Number) String() string + type NumberUnmarshalType int + const UnmarshalFloat + const UnmarshalIntOrFloat + const UnmarshalJSONNumber + type RawMessage []byte + func (m *RawMessage) MarshalJSON() ([]byte, error) + func (m *RawMessage) UnmarshalJSON(data []byte) error + type SyntaxError struct + Offset int64 + func (e *SyntaxError) Error() string + type Token interface + type UnmarshalFieldError struct + Field reflect.StructField + Key string + Type reflect.Type + func (e *UnmarshalFieldError) Error() string + type UnmarshalTypeError struct + Offset int64 + Type reflect.Type + Value string + func (e *UnmarshalTypeError) Error() string + type Unmarshaler interface + UnmarshalJSON func([]byte) error + type UnsupportedTypeError struct + Type reflect.Type + func (e *UnsupportedTypeError) Error() string + type UnsupportedValueError struct + Str string + Value reflect.Value + func (e *UnsupportedValueError) Error() string Other modules containing this package github.com/flatheadmill/go-jose