Closed
Description
func (cfg *frozenConfig) MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) {
newCfg := cfg.configBeforeFrozen
newCfg.IndentionStep = len(indent)
return newCfg.frozeWithCacheReuse().Marshal(v)
to:
newCfg := cfg.configBeforeFrozen
newCfg.IndentionStep = len(indent)
newFrozenCfg := newCfg.frozeWithCacheReuse();
newFrozenCfg.extensions = cfg.extensions
return newFrozenCfg.Marshal(v)
Metadata
Metadata
Assignees
Labels
No labels