We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
The text was updated successfully, but these errors were encountered:
10a568c
fix json-iterator#293 copy extensions
b0bc206
No branches or pull requests
func (cfg *frozenConfig) MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) {
to:
newCfg := cfg.configBeforeFrozen
newCfg.IndentionStep = len(indent)
newFrozenCfg := newCfg.frozeWithCacheReuse();
newFrozenCfg.extensions = cfg.extensions
return newFrozenCfg.Marshal(v)
The text was updated successfully, but these errors were encountered: