public char next(){
  return pos < in.length() ? in.charAt(pos++) : '\0';
}

public char next ( ) { return pos < in . length ( ) ? in . charAt ( pos ++ ) : '\0' ; }
returns the next available character , or the null character ' \ 0 ' if all input has been exhausted . the return value of this method is ambiguous for json strings that contain the character ' \ 0 ' .
