NAME
Twilio::Json - JSON encoding for this library
DESCRIPTION
Uses Cpanel::JSON::XS when it is installed, and the core module JSON::PP otherwise. Encoded text is UTF-8 bytes.
FUNCTIONS
encode
my $bytes = Twilio::Json::encode($data);
decode
my $data = Twilio::Json::decode($bytes);
Dies when the text is not valid JSON.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.