mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
improve gutil.Dump
This commit is contained in:
@ -179,10 +179,3 @@ func (j *Json) Dump() {
|
||||
defer j.mu.RUnlock()
|
||||
gutil.Dump(*j.p)
|
||||
}
|
||||
|
||||
// Export returns `j` as a string with more manually readable.
|
||||
func (j *Json) Export() string {
|
||||
j.mu.RLock()
|
||||
defer j.mu.RUnlock()
|
||||
return gutil.Export(*j.p, gutil.ExportOption{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user