Closed youzeliang closed 3 years ago
Hi. Thanks for your PR. This specific condition is required in order to disable modifiers on application basis.
For example:
package main
import "github.com/tidwall/gjson"
func main() {
gjson.DisableModifiers = true
// now modifiers are disabled for the life of the application.
}
ok,I got it wrong
No worries. I plan on deprecating that flag at some point in future. Just not right now.
if !DisableModifiers is always true