Lines Matching refs:decode_error
761 decode_error("malformed JSON string, neither array, object, number, string or atom");
792 decode_error(
800 …decode_error("malformed JSON string, neither array, object, number, string or atom") unless define…
805 decode_error(
818 decode_error("garbage after JSON object") if defined $ch;
858 decode_error("missing low surrogate character in surrogate pair");
886 decode_error("missing high surrogate character in surrogate pair");
894 decode_error("surrogate pair expected");
911 decode_error('illegal backslash escape sequence in string');
921 decode_error("malformed UTF-8 character in JSON string");
934 decode_error(sprintf "invalid character 0x%X"
946 decode_error("unexpected end of string while parsing JSON string");
975 decode_error("Unterminated comment");
982 … decode_error("malformed JSON string, neither array, object, number, string or atom");
1003 … decode_error('json text or perl structure exceeds maximum nesting level (max_depth set too low?)')
1047 decode_error(", or ] expected while parsing array");
1051 …decode_error('malformed JSON string, neither array, object, number, string or atom') unless $allow…
1058 decode_error('malformed JSON string, (tag) must be a string') if ref $tag;
1063 decode_error(') expected after tag');
1071 … decode_error('malformed JSON string, tag value must be an array') unless ref $val eq 'ARRAY';
1074 decode_error('cannot decode perl-object (package does not exist)') if $@;
1075 decode_error('cannot decode perl-object (package does not have a THAW method)');
1084 … decode_error('json text or perl structure exceeds maximum nesting level (max_depth set too low?)')
1104 decode_error("':' expected");
1143 decode_error(", or } expected while parsing object/hash");
1181 decode_error("'null' expected") if ($word =~ /^n/);
1182 decode_error("'true' expected") if ($word =~ /^t/);
1183 decode_error("'false' expected") if ($word =~ /^f/);
1184 decode_error("malformed JSON string, neither array, object, number, string or atom");
1198 decode_error("malformed number (no digits after initial minus)");
1206 … decode_error("malformed number (leading zero must not be followed by another digit)");
1223 decode_error("malformed number (no digits after decimal point)");
1243 decode_error("malformed number (no digits after exp sign)");
1251 decode_error("malformed number (no digits after exp sign)");
1334 sub decode_error { subroutine