Protect JsonParser::validate_number against empty input
Protect JsonParser::validate_number against empty input

Had some undefined behavior trying to access the 0th position in an
empty string.

trflynn89/libfly,trflynn89/libfly