test_class.declarator: jsonText
test_class.modifier: private
test_class.original_string: private String jsonText;
test_class.type: String
test_class.var_name: jsonText
test_class.declarator: searchedField
test_class.modifier: private
test_class.original_string: private String searchedField;
test_class.type: String
test_class.var_name: searchedField
test_class.file: flink-streaming-connectors/flink-connector-twitter/src/test/java/org/apache/flink/streaming/connectors/json/JSONParserTest.java
test_class.identifier: JSONParserTest
test_case.body: @Test
  	public void test() {
  		try {
  			JSONParser parser = new JSONParser(jsonText);
  			JSONObject jo = parser.parse(searchedField);
  			String expected = "{\"retValue\":\"value\"}";
  
  			assertTrue(expected.equals(jo.toString()));
  		} 
  		catch (JSONException e) {
  			fail();
  		}
  	}
test_case.class_method_signature: JSONParserTest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: parse assertTrue equals toString fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: originalJO
focal_class.modifier: private
focal_class.original_string: private JSONObject originalJO;
focal_class.type: JSONObject
focal_class.var_name: originalJO
focal_class.declarator: searchedfield
focal_class.modifier: private
focal_class.original_string: private String searchedfield;
focal_class.type: String
focal_class.var_name: searchedfield
focal_class.declarator: temp
focal_class.modifier: private
focal_class.original_string: private Object temp;
focal_class.type: Object
focal_class.var_name: temp
focal_class.file: flink-streaming-connectors/flink-connector-twitter/src/main/java/org/apache/flink/streaming/connectors/json/JSONParser.java
focal_class.identifier: JSONParser
focal_class.class_method_signature: JSONParser.JSONParser(String jsonText)
focal_class.full_signature: public  JSONParser(String jsonText)
focal_class.identifier: JSONParser
focal_class.modifiers: public
focal_class.parameters: (String jsonText)
focal_class.signature:  JSONParser(String jsonText)
focal_class.class_method_signature: JSONParser.parse(String key)
focal_class.full_signature: public JSONObject parse(String key)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (String key)
focal_class.return: JSONObject
focal_class.signature: JSONObject parse(String key)
focal_class.class_method_signature: JSONParser.initializeParser(String key)
focal_class.full_signature: private void initializeParser(String key)
focal_class.identifier: initializeParser
focal_class.modifiers: private
focal_class.parameters: (String key)
focal_class.return: void
focal_class.signature: void initializeParser(String key)
focal_class.class_method_signature: JSONParser.parsing()
focal_class.full_signature: private void parsing()
focal_class.identifier: parsing
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parsing()
focal_class.class_method_signature: JSONParser.find(String nextToken)
focal_class.full_signature: private void find(String nextToken)
focal_class.identifier: find
focal_class.modifiers: private
focal_class.parameters: (String nextToken)
focal_class.return: void
focal_class.signature: void find(String nextToken)
focal_class.class_method_signature: JSONParser.endsWithBracket(String nextToken)
focal_class.full_signature: private boolean endsWithBracket(String nextToken)
focal_class.identifier: endsWithBracket
focal_class.modifiers: private
focal_class.parameters: (String nextToken)
focal_class.return: boolean
focal_class.signature: boolean endsWithBracket(String nextToken)
focal_class.class_method_signature: JSONParser.treatAllBracket(String nextToken)
focal_class.full_signature: private void treatAllBracket(String nextToken)
focal_class.identifier: treatAllBracket
focal_class.modifiers: private
focal_class.parameters: (String nextToken)
focal_class.return: void
focal_class.signature: void treatAllBracket(String nextToken)
focal_class.class_method_signature: JSONParser.cutBracket(String string)
focal_class.full_signature: private String cutBracket(String string)
focal_class.identifier: cutBracket
focal_class.modifiers: private
focal_class.parameters: (String string)
focal_class.return: String
focal_class.signature: String cutBracket(String string)
focal_class.class_method_signature: JSONParser.putResultInJSONObj()
focal_class.full_signature: private JSONObject putResultInJSONObj()
focal_class.identifier: putResultInJSONObj
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: JSONObject
focal_class.signature: JSONObject putResultInJSONObj()
focal_method.body: public JSONObject parse(String key) throws JSONException {
  		initializeParser(key);
  		parsing();
  		return putResultInJSONObj();
  	}
focal_method.class_method_signature: JSONParser.parse(String key)
focal_method.full_signature: public JSONObject parse(String key)
focal_method.identifier: parse
focal_method.invocations: initializeParser parsing putResultInJSONObj
focal_method.modifiers: public
focal_method.parameters: (String key)
focal_method.return: JSONObject
focal_method.signature: JSONObject parse(String key)