TO_JSON
Data::Object::Boolean::TO_JSON($true); # \1
Data::Object::Boolean::TO_JSON($false); # \0
The TO_JSON function returns a scalar ref representing truthiness or falsiness based on the arguments passed. This function is commonly used by JSON encoders and instructs them on how they should represent the value.
TO_JSON(Any $arg) : Ref['SCALAR']
function
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 19:
Unknown directive: =description
- Around line 25:
Unknown directive: =signature
- Around line 29:
Unknown directive: =type