jsonutil

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package jsonutil contains helpers for working with JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Canonical

func Canonical(j string) (string, error)

Canonical return a canonical formatted version of a JSON text.

func MustCanonical

func MustCanonical(j string) string

MustCanonical is a test wrapper around Canonical. DO NOT USE IN PROD CODE. Crashes if any errors occurs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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