json

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package json provides a simpler JSON marshaller for strings and ints only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(key string, value int) encoding.TextMarshaler

Int ...

func Marshal

func Marshal(vals ...encoding.TextMarshaler) ([]byte, error)

Marshal values.

func String

func String(key string, value string) encoding.TextMarshaler

String ...

func Unmarshal

func Unmarshal(data []byte, v interface{}) error

Unmarshal bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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