test_class.declarator: jsonHelper
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private JsonHelper jsonHelper;
test_class.type: JsonHelper
test_class.var_name: jsonHelper
test_class.file: herd-code/herd-dao/src/test/java/org/finra/herd/dao/helper/JsonHelperTest.java
test_class.identifier: JsonHelperTest
test_class.superclass: extends AbstractDaoTest
test_case.body: @Test
      public void testObjectToJson()
      {
          assertEquals(String.format("\"%s\"", STRING_VALUE), jsonHelper.objectToJson(STRING_VALUE));
      }
test_case.class_method_signature: JsonHelperTest.testObjectToJson()
test_case.full_signature: @Test public void testObjectToJson()
test_case.identifier: testObjectToJson
test_case.invocations: assertEquals format objectToJson
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testObjectToJson()
focal_class.file: herd-code/herd-dao/src/main/java/org/finra/herd/dao/helper/JsonHelper.java
focal_class.identifier: JsonHelper
focal_class.class_method_signature: JsonHelper.getKeyValue(JSONObject jsonObject, Object key, Class<T> classType)
focal_class.full_signature: public T getKeyValue(JSONObject jsonObject, Object key, Class<T> classType)
focal_class.identifier: getKeyValue
focal_class.modifiers: public
focal_class.parameters: (JSONObject jsonObject, Object key, Class<T> classType)
focal_class.return: T
focal_class.signature: T getKeyValue(JSONObject jsonObject, Object key, Class<T> classType)
focal_class.class_method_signature: JsonHelper.objectToJson(Object object)
focal_class.full_signature: public String objectToJson(Object object)
focal_class.identifier: objectToJson
focal_class.modifiers: public
focal_class.parameters: (Object object)
focal_class.return: String
focal_class.signature: String objectToJson(Object object)
focal_class.class_method_signature: JsonHelper.unmarshallJsonToListOfObjects(Class<T> classType, String jsonContent)
focal_class.full_signature: public List<T> unmarshallJsonToListOfObjects(Class<T> classType, String jsonContent)
focal_class.identifier: unmarshallJsonToListOfObjects
focal_class.modifiers: public
focal_class.parameters: (Class<T> classType, String jsonContent)
focal_class.return: List<T>
focal_class.signature: List<T> unmarshallJsonToListOfObjects(Class<T> classType, String jsonContent)
focal_class.class_method_signature: JsonHelper.unmarshallJsonToObject(Class<T> classType, String jsonContent)
focal_class.full_signature: public T unmarshallJsonToObject(Class<T> classType, String jsonContent)
focal_class.identifier: unmarshallJsonToObject
focal_class.modifiers: public
focal_class.parameters: (Class<T> classType, String jsonContent)
focal_class.return: T
focal_class.signature: T unmarshallJsonToObject(Class<T> classType, String jsonContent)
focal_method.body: public String objectToJson(Object object) throws IllegalStateException
      {
          ObjectMapper mapper = new ObjectMapper();
  
          StringWriter stringWriter = new StringWriter();
  
          try
          {
              mapper.writeValue(stringWriter, object);
          }
          catch (IOException e)
          {
              throw new IllegalStateException(e);
          }
  
          return stringWriter.toString();
      }
focal_method.class_method_signature: JsonHelper.objectToJson(Object object)
focal_method.full_signature: public String objectToJson(Object object)
focal_method.identifier: objectToJson
focal_method.invocations: writeValue toString
focal_method.modifiers: public
focal_method.parameters: (Object object)
focal_method.return: String
focal_method.signature: String objectToJson(Object object)