utilgo.mau.fi/util/jsonbytes Index | Files

package jsonbytes

import "go.mau.fi/util/jsonbytes"

Index

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

Source Files

unpadded.go

Version
v0.8.6 (latest)
Published
Mar 16, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 week ago

Tools for package owners.