api-server: github.com/DevMine/api-server/util/json Index | Files

package json

import "github.com/DevMine/api-server/util/json"

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

Index

Package Files

json.go

func MarshalIndentPanic Uses

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 Uses

func MarshalPanic(v interface{}) []byte

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

Package json imports 1 packages (graph) and is imported by 6 packages. Updated 2016-08-01. Refresh now. Tools for package owners.