in reply to Re^2: Why is Dumper showing decoded JSON booleans like this?
in thread Why is Dumper showing decoded JSON booleans like this?
You'll have to traverse the returned data structure, using JSON::is_bool to check for boolean nodes, replacing boolean nodes with the values of your choice.
If PHP::Serialization supported custom object serializers, you could just write one of those for JSON::PP::Boolean, but it doesn't appear to be the case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why is Dumper showing decoded JSON booleans like this?
by nleaman (Initiate) on Mar 04, 2010 at 21:01 UTC |