test_class.file: json-rpc/src/test/java/com/vmware/ovsdb/jsonrpc/v1/util/JsonUtilTest.java
test_class.identifier: JsonUtilTest
test_case.body: @Test
    public void testSerialize() throws JsonProcessingException {
      String jsonString = "{\"method\":\"method\",\"params\":[],\"id\":\"id\"}";
      JsonRpcV1Request request = new JsonRpcV1Request("id", "method");
      assertEquals(
          jsonString, JsonUtil.serialize(request)
      );
  
      class WrongClass {
        private String field;
      }
      assertNull(JsonUtil.serializeNoException(new WrongClass()));
    }
test_case.class_method_signature: JsonUtilTest.testSerialize()
test_case.full_signature: @Test public void testSerialize()
test_case.identifier: testSerialize
test_case.invocations: assertEquals serialize assertNull serializeNoException
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSerialize()
focal_class.declarator: objectMapper = new ObjectMapper()
focal_class.modifier: private static final
focal_class.original_string: private static final ObjectMapper objectMapper = new ObjectMapper();
focal_class.type: ObjectMapper
focal_class.var_name: objectMapper
focal_class.file: json-rpc/src/main/java/com/vmware/ovsdb/jsonrpc/v1/util/JsonUtil.java
focal_class.identifier: JsonUtil
focal_class.class_method_signature: JsonUtil.treeToValue(JsonNode jsonNode, Class<T> klass)
focal_class.full_signature: public static T treeToValue(JsonNode jsonNode, Class<T> klass)
focal_class.identifier: treeToValue
focal_class.modifiers: public static
focal_class.parameters: (JsonNode jsonNode, Class<T> klass)
focal_class.return: T
focal_class.signature: T treeToValue(JsonNode jsonNode, Class<T> klass)
focal_class.class_method_signature: JsonUtil.treeToValueNoException(JsonNode jsonNode, Class<T> klass)
focal_class.full_signature: public static T treeToValueNoException(JsonNode jsonNode, Class<T> klass)
focal_class.identifier: treeToValueNoException
focal_class.modifiers: public static
focal_class.parameters: (JsonNode jsonNode, Class<T> klass)
focal_class.return: T
focal_class.signature: T treeToValueNoException(JsonNode jsonNode, Class<T> klass)
focal_class.class_method_signature: JsonUtil.treeToValueNoException(JsonNode jsonNode, TypeReference<?> valueTypeRef)
focal_class.full_signature: public static T treeToValueNoException(JsonNode jsonNode, TypeReference<?> valueTypeRef)
focal_class.identifier: treeToValueNoException
focal_class.modifiers: public static
focal_class.parameters: (JsonNode jsonNode, TypeReference<?> valueTypeRef)
focal_class.return: T
focal_class.signature: T treeToValueNoException(JsonNode jsonNode, TypeReference<?> valueTypeRef)
focal_class.class_method_signature: JsonUtil.toJsonNode(Object object)
focal_class.full_signature: public static JsonNode toJsonNode(Object object)
focal_class.identifier: toJsonNode
focal_class.modifiers: public static
focal_class.parameters: (Object object)
focal_class.return: JsonNode
focal_class.signature: JsonNode toJsonNode(Object object)
focal_class.class_method_signature: JsonUtil.deserialize(String jsonString, Class<T> klass)
focal_class.full_signature: public static T deserialize(String jsonString, Class<T> klass)
focal_class.identifier: deserialize
focal_class.modifiers: public static
focal_class.parameters: (String jsonString, Class<T> klass)
focal_class.return: T
focal_class.signature: T deserialize(String jsonString, Class<T> klass)
focal_class.class_method_signature: JsonUtil.deserialize(URL url, Class<T> klass)
focal_class.full_signature: public static T deserialize(URL url, Class<T> klass)
focal_class.identifier: deserialize
focal_class.modifiers: public static
focal_class.parameters: (URL url, Class<T> klass)
focal_class.return: T
focal_class.signature: T deserialize(URL url, Class<T> klass)
focal_class.class_method_signature: JsonUtil.deserializeNoException(String jsonString, Class<T> klass)
focal_class.full_signature: public static T deserializeNoException(String jsonString, Class<T> klass)
focal_class.identifier: deserializeNoException
focal_class.modifiers: public static
focal_class.parameters: (String jsonString, Class<T> klass)
focal_class.return: T
focal_class.signature: T deserializeNoException(String jsonString, Class<T> klass)
focal_class.class_method_signature: JsonUtil.serializeNoException(Object object)
focal_class.full_signature: public static String serializeNoException(Object object)
focal_class.identifier: serializeNoException
focal_class.modifiers: public static
focal_class.parameters: (Object object)
focal_class.return: String
focal_class.signature: String serializeNoException(Object object)
focal_class.class_method_signature: JsonUtil.serialize(Object object)
focal_class.full_signature: public static String serialize(Object object)
focal_class.identifier: serialize
focal_class.modifiers: public static
focal_class.parameters: (Object object)
focal_class.return: String
focal_class.signature: String serialize(Object object)
focal_class.class_method_signature: JsonUtil.createArrayNode()
focal_class.full_signature: public static ArrayNode createArrayNode()
focal_class.identifier: createArrayNode
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ArrayNode
focal_class.signature: ArrayNode createArrayNode()
focal_class.class_method_signature: JsonUtil.readTree(String string)
focal_class.full_signature: public static JsonNode readTree(String string)
focal_class.identifier: readTree
focal_class.modifiers: public static
focal_class.parameters: (String string)
focal_class.return: JsonNode
focal_class.signature: JsonNode readTree(String string)
focal_method.body: public static String serialize(Object object) throws JsonProcessingException {
      return objectMapper.writeValueAsString(object);
    }
focal_method.class_method_signature: JsonUtil.serialize(Object object)
focal_method.full_signature: public static String serialize(Object object)
focal_method.identifier: serialize
focal_method.invocations: writeValueAsString
focal_method.modifiers: public static
focal_method.parameters: (Object object)
focal_method.return: String
focal_method.signature: String serialize(Object object)