mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
fix
This commit is contained in:
@ -119,6 +119,7 @@ func ExampleLoadContent_UTF8BOM() {
|
||||
content[0] = 0xEF
|
||||
content[1] = 0xBB
|
||||
content[2] = 0xBF
|
||||
content = append(content, jsonContent...)
|
||||
|
||||
j, _ := gjson.LoadContent(content)
|
||||
|
||||
|
||||
@ -77,6 +77,7 @@ func ExampleNewWithOptions_UTF8BOM() {
|
||||
content[0] = 0xEF
|
||||
content[1] = 0xBB
|
||||
content[2] = 0xBF
|
||||
content = append(content, jsonContent...)
|
||||
|
||||
j := gjson.NewWithOptions(content, gjson.Options{
|
||||
Tags: "tag",
|
||||
|
||||
Reference in New Issue
Block a user