Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TylerBrock/colorjson
/ functions
Functions
19 in github.com/TylerBrock/colorjson
⨍
Functions
19
◇
Types & classes
1
↓ 6 callers
Method
Marshal
(jsonObj interface{})
colorjson.go:77
↓ 5 callers
Method
sprintColor
(c *color.Color, s string)
colorjson.go:58
↓ 4 callers
Method
writeIndent
(buf *bytes.Buffer, depth int)
colorjson.go:65
↓ 4 callers
Method
writeObjSep
(buf *bytes.Buffer)
colorjson.go:69
↓ 3 callers
Method
marshalValue
(val interface{}, buf *bytes.Buffer, depth int)
colorjson.go:136
↓ 2 callers
Function
benchmarkMarshall
(i int, b *testing.B)
colorjson_test.go:7
↓ 2 callers
Function
benchmarkPrettyJSON
(i int, b *testing.B)
colorjson_test.go:20
↓ 1 callers
Function
NewFormatter
()
colorjson.go:37
↓ 1 callers
Method
marshalArray
(a []interface{}, buf *bytes.Buffer, depth int)
colorjson.go:115
↓ 1 callers
Method
marshalMap
(m map[string]interface{}, buf *bytes.Buffer, depth int)
colorjson.go:83
↓ 1 callers
Method
marshalString
(str string, buf *bytes.Buffer)
colorjson.go:155
Function
BenchmarkMarshall
(b *testing.B)
colorjson_test.go:33
Function
BenchmarkMarshall1k
(b *testing.B)
colorjson_test.go:34
Function
BenchmarkPrettyJSON
(b *testing.B)
colorjson_test.go:35
Function
BenchmarkPrettyJSON1k
(b *testing.B)
colorjson_test.go:36
Function
Marshal
Marshal JSON data with default options
colorjson.go:169
Function
main
()
examples/indent.go:9
Function
main
()
examples/simple.go:9
Method
sprintfColor
(c *color.Color, format string, args ...interface{})
colorjson.go:51