Please sign in to comment.
`#as_json` isolates options when encoding a hash. Closes #8182
Setting options in a custom `#as_json` method had side effects. Modifications of the `options` hash leaked outside and influenced the conversion of other objects contained in the hash.
- Loading branch information...
Showing with 24 additions and 1 deletion.