I've pushed a third option which avoids testing the class-ness directly, based on the JSON::XS (and JSON) documentation: http://git.evergreen-ils.org/?p=working/OpenSRF.git;a=shortlog;h=refs/heads/user/miker/json_bool_api
Thoughts?
I've pushed a third option which avoids testing the class-ness directly, based on the JSON::XS (and JSON) documentation: http:// git.evergreen- ils.org/ ?p=working/ OpenSRF. git;a=shortlog; h=refs/ heads/user/ miker/json_ bool_api
Thoughts?