public void readHex ( ) { if ( pos < s . length ( ) && ( ( s . charAt ( pos ) >= ' ' && s . charAt ( pos ) <= ' ' ) || ( s . charAt ( pos ) >= ' ' && s . charAt ( pos ) <= ' ' ) || ( s . charAt ( pos ) >= ' ' && s . charAt ( pos ) <= ' ' ) ) ) { pos ++ ; } else { throw new JSONParseException ( s , pos ) ; } }
Read the current character making sure that it is a hexidecimal character .