public Token nextToken(){

		Token nextToken = Token.EOF;
		if (this.cursorPosition==jsonString.length())
			nextToken=Token.EOF;
		
		else
		{ 
			for (int iterator=this.cursorPosition+1; iterator<jsonString.length(); iterator++)
			{
				switch(jsonString.charAt(iterator)){

				case '{':
					nextToken=Token.START_BRACE;
					break;
				case '}':
					nextToken=Token.END_BRACE;
					break;
				case '[':
					nextToken=Token.START_BRACKET;
					break;
				case ']':
					nextToken=Token.END_BRACKET;
					break;
				case ':':
					nextToken=Token.COLON;
					break;
				case ',':
					nextToken=Token.COMMA;
					break;
				default:
					{if (iterator==jsonString.length())	
						{nextToken=Token.EOF;
					    break;}
					 else					    
					 continue;
					}

			}
				break;
			
		}
		}return nextToken;
		
					
 }