You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-12-20 23:30:38 +02:00
#53 extract out config
This commit is contained in:
@@ -20,7 +20,7 @@ func (any *stringLazyAny) ValueType() ValueType {
|
||||
func (any *stringLazyAny) Parse() *Iterator {
|
||||
iter := any.iter
|
||||
if iter == nil {
|
||||
iter = NewIterator()
|
||||
iter = NewIterator(DEFAULT_CONFIG)
|
||||
any.iter = iter
|
||||
}
|
||||
iter.ResetBytes(any.buf)
|
||||
|
||||
Reference in New Issue
Block a user