jsonutil

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EscapeHTML bool = false
)

These are constants to configure the JSON encoder

Variables

This section is empty.

Functions

func MarshalIgnoreError

func MarshalIgnoreError(v interface{}) string

MarshalIgnoreError returns the string representation of the given object; returns empty string in case of error

func TryUnmarshal added in v1.3.1

func TryUnmarshal(value string, dataTemplate interface{}) error

TryUnmarshal tries to unmarshal given value to dataTemplate

Types

This section is empty.

Jump to

Keyboard shortcuts

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