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.6.0
Published
Jul 16, 2024
Platform
darwin/amd64
Imports
2 packages
Last checked
3 hours ago

Tools for package owners.