Home | History | Annotate | Download | only in JSON

Lines Matching refs:ARRAY

317         elsif($type eq 'ARRAY'){
495 elsif ($reftype eq 'ARRAY') {
647 decode_error("malformed JSON string, neither array, object, number, string or atom");
694 decode_error("malformed JSON string, neither array, object, number, string or atom") unless $valid_start;
698 'JSON text must be an object or array (but found number, string, true, false or null,'
727 return array() if($ch eq '[');
875 decode_error("malformed JSON string, neither array, object, number, string or atom");
893 sub array {
894 my $a = $_[0] || []; # you can use this code to use another array ref object.
939 decode_error(", or ] expected while parsing array");
1047 decode_error("malformed JSON string, neither array, object, number, string or atom");
1356 B::AV ARRAY
1949 and extra whitespace after the C<,> separating key-value pairs and array
1983 JSON I<separates> array elements and key-value pairs with commas. This
2046 or array. Likewise, C<decode> will croak if given something that is not a
2047 JSON object or array.
2255 to a hash or array) to its JSON representation. Simple scalars will be
2542 =item array
2544 A JSON array becomes a reference to an array in Perl.
2629 =item array references
2631 Perl array references become JSON arrays.