package pretty

import "github.com/bitrise-io/go-utils/pretty"

Index

Functions

func Object

func Object(o interface{}) string

Object returns the json representation of the given parameter

if json marshal fails it returns the parameter's default format

Source Files

pretty.go

Version
v1.0.15 (latest)
Published
May 13, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
2 months ago

Tools for package owners.