Commit 3b473ff
Don't emit deprecation warnings in State#to_h in TruffleRuby
$ ruby -Ilib -rjson -W:deprecated -e JSON::State.new.to_h |& uniq -c
13 -e:1: warning: JSON::State#[] is deprecated and will be removed in json 3.0.01 parent 256cad5 commit 3b473ff
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
| 315 | + | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments