json

package
v0.3.6-dev2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompactJsonString

func CompactJsonString(t *testing.T, jsonString string) string

CompactJsonString takes a string of human-readable, formatted JSON and compacts it. The purpose is to remove the formatting (e.g. newlines, tabs, etc) and return a string that would match an unmarshaled object string generated by a Go program natively.

Types

This section is empty.

Jump to

Keyboard shortcuts

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