json

package
v0.0.0-...-d26fc85 Latest Latest
Warning

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

Go to latest
Published: May 2, 2015 License: BSD-3-Clause Imports: 1 Imported by: 6

Documentation

Overview

Package json provides json marshaling functions that do not return any error but may panic if something bad occurs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalIndentPanic

func MarshalIndentPanic(v interface{}) []byte

MarshalIndentPanic marshaliues the interface v into JSON and indents it. If an error occurs in the process, it panics.

func MarshalPanic

func MarshalPanic(v interface{}) []byte

MarshalPanic marshalizes the interface v into JSON. If an error occurs in the process, it panics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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