com::zoho::crm::api::util::DataTypeConverter - This class converts JSON value to the expected data type.
init
This method is to initialize the PreConverter and PostConverter lambda functions.
add_to_map
This method is to add PreConverter and PostConverter instance.
Param name : A String containing the data type class name.
Param pre_converter : A PreConverter method.
Param post_converter : A PostConverter method.
pre_convert
This method is to convert JSON value to expected data value.
Param obj : A Object containing the JSON value.
Param type : A String containing the expected method return type.
Returns A specified data Type containing expected data value.
post_convert
This method to convert Perl data to JSON data value.
Param obj : A specified dataType containing a perl data value.
To install Param, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Param
CPAN shell
perl -MCPAN -e shell install Param
For more information on module installation, please visit the detailed CPAN module installation guide.