jsonbytes

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2025 License: MPL-2.0 Imports: 2 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnpaddedBytes

type UnpaddedBytes []byte

UnpaddedBytes is a byte slice that is encoded and decoded using base64.RawStdEncoding instead of the default padded base64.

func (UnpaddedBytes) MarshalJSON

func (b UnpaddedBytes) MarshalJSON() ([]byte, error)

func (*UnpaddedBytes) UnmarshalJSON

func (b *UnpaddedBytes) UnmarshalJSON(data []byte) error

type UnpaddedURLBytes added in v0.8.7

type UnpaddedURLBytes []byte

UnpaddedURLBytes is a byte slice that is encoded and decoded using base64.RawURLEncoding instead of the default padded base64.

func (UnpaddedURLBytes) MarshalJSON added in v0.8.7

func (b UnpaddedURLBytes) MarshalJSON() ([]byte, error)

func (*UnpaddedURLBytes) UnmarshalJSON added in v0.8.7

func (b *UnpaddedURLBytes) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL