/
githubmirror
/
GoFrame
Обзор
Документация
Войти
/
githubmirror
/
GoFrame
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
encoding/gjson/gjson_api_config.go
21 строка
602 B
John Guo
copyright comment update
17 янв 2021, 16:46
17 янв 2021, 16:46
093034a
Код
Авторство
О чём код?
// Copyright GoFrame Author(https://goframe.org). 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://github.com/gogf/gf. package gjson // SetSplitChar sets the separator char for hierarchical data access. func (j *Json) SetSplitChar(char byte) { j.mu.Lock() j.c = char j.mu.Unlock() } // SetViolenceCheck enables/disables violence check for hierarchical data access. func (j *Json) SetViolenceCheck(enabled bool) { j.mu.Lock() j.vc = enabled j.mu.Unlock() }