lab003

command
v0.0.0-...-f10d331 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 2 Imported by: 0

README

判断是否是合法的json字符串

这个方法好像是从1.9开始才有的,我之前用的1.8里面是没有的

运行结果

Imgur

参考资料

https://stackoverflow.com/questions/22128282/easy-way-to-check-string-is-in-json-format-in-golang

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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