in reply to Re^2: How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?
in thread How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?
grepping CPAN it seems the method ships with JSON::PP and you can read about it
# Note that JSON version 2.0 and above will automatically use # JSON::XS or JSON::PP, so you should be able to just: use JSON;
This probably means you have also JSON::XS installed and it is loaded first
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?
by ikegami (Patriarch) on Jan 03, 2022 at 14:24 UTC | |
by Cody Fendant (Hermit) on Jan 03, 2022 at 22:22 UTC | |
by ikegami (Patriarch) on Jan 04, 2022 at 15:06 UTC |