Perl encode_json() function converts the given Perl data structure to a UTF-8 encoded, binary string. Data can also be nested within the JSON format by using JavaScript arrays that are passed as a value. JavaScript uses square brackets on either end of its array type. Arrays are ordered collections and Read more »