mirror of
https://gitee.com/johng/gf
synced 2026-06-07 10:22:11 +08:00
18 lines
588 B
Go
18 lines
588 B
Go
// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved.
|
|
//
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
// If a copy of the MIT was not distributed with this file,
|
|
// You can obtain one at https://gitee.com/johng/gp.
|
|
|
|
package gparser
|
|
|
|
// SetSplitChar sets the separator char for hierarchical data access.
|
|
func (p *Parser) SetSplitChar(char byte) {
|
|
p.json.SetSplitChar(char)
|
|
}
|
|
|
|
// SetViolenceCheck enables/disables violence check for hierarchical data access.
|
|
func (p *Parser) SetViolenceCheck(check bool) {
|
|
p.json.SetViolenceCheck(check)
|
|
}
|