test_class.declarator: jsonStr="{\"name\":\"张三\",\"age\":22,\"list\":[1,2,3,4],\"map\":{},\"date\":\"2001-07-04T12:08:56.235-07:00\"}";
test_class.modifier: private
test_class.original_string: private String jsonStr="{\"name\":\"张三\",\"age\":22,\"list\":[1,2,3,4],\"map\":{},\"date\":\"2001-07-04T12:08:56.235-07:00\"}";
test_class.type: String
test_class.var_name: jsonStr
test_class.declarator: listStr="[1,2,34,5]"
test_class.modifier: private
test_class.original_string: private String listStr="[1,2,34,5]";
test_class.type: String
test_class.var_name: listStr
test_class.declarator: mapStr="{\"age\":13}"
test_class.modifier: private
test_class.original_string: private String mapStr="{\"age\":13}";
test_class.type: String
test_class.var_name: mapStr
test_class.file: support/core/src/test/java/com/meiduimall/core/util/JsonUtilsTest.java
test_class.identifier: JsonUtilsTest
test_case.body: @Test
  	public void beanToJsonTest(){
  		Json json=new Json();
  		Map<String,Integer> map=Maps.newHashMap();
  		List<Integer> list=Lists.newArrayList(1,2,3,4);
  		json.setName("张三");
  		json.setAge(22);
  		json.setMap(map);
  		json.setList(list);
  		json.setDate(new Date());
  		//Assert.assertEquals(jsonStr,JsonUtils.beanToJson(json));
  		System.out.println(JsonUtils.beanToJson(json));
  	}
test_case.class_method_signature: JsonUtilsTest.beanToJsonTest()
test_case.full_signature: @Test public void beanToJsonTest()
test_case.identifier: beanToJsonTest
test_case.invocations: newHashMap newArrayList setName setAge setMap setList setDate println beanToJson
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void beanToJsonTest()
focal_class.declarator: logger = LoggerFactory.getLogger(JsonUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(JsonUtils.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: jacksonUtil = new JsonUtils()
focal_class.modifier: private static
focal_class.original_string: private static JsonUtils jacksonUtil = new JsonUtils();
focal_class.type: JsonUtils
focal_class.var_name: jacksonUtil
focal_class.declarator: mapper
focal_class.modifier: private
focal_class.original_string: private ObjectMapper mapper;
focal_class.type: ObjectMapper
focal_class.var_name: mapper
focal_class.file: support/core/src/main/java/com/meiduimall/core/util/JsonUtils.java
focal_class.identifier: JsonUtils
focal_class.class_method_signature: JsonUtils.JsonUtils()
focal_class.full_signature: private  JsonUtils()
focal_class.identifier: JsonUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JsonUtils()
focal_class.class_method_signature: JsonUtils.getInstance()
focal_class.full_signature: public static ObjectMapper getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ObjectMapper
focal_class.signature: ObjectMapper getInstance()
focal_class.class_method_signature: JsonUtils.jsonToBean(String json,  Class<T> valueType)
focal_class.full_signature: public static T jsonToBean(String json,  Class<T> valueType)
focal_class.identifier: jsonToBean
focal_class.modifiers: public static
focal_class.parameters: (String json,  Class<T> valueType)
focal_class.return: T
focal_class.signature: T jsonToBean(String json,  Class<T> valueType)
focal_class.class_method_signature: JsonUtils.beanToJson(Object bean)
focal_class.full_signature: public static String beanToJson(Object bean)
focal_class.identifier: beanToJson
focal_class.modifiers: public static
focal_class.parameters: (Object bean)
focal_class.return: String
focal_class.signature: String beanToJson(Object bean)
focal_class.class_method_signature: JsonUtils.jsonToList(String json,Class<T> clazz)
focal_class.full_signature: public static List<T> jsonToList(String json,Class<T> clazz)
focal_class.identifier: jsonToList
focal_class.modifiers: public static
focal_class.parameters: (String json,Class<T> clazz)
focal_class.return: List<T>
focal_class.signature: List<T> jsonToList(String json,Class<T> clazz)
focal_class.class_method_signature: JsonUtils.beanToJsonAndFmDate(Object channelList)
focal_class.full_signature: public static String beanToJsonAndFmDate(Object channelList)
focal_class.identifier: beanToJsonAndFmDate
focal_class.modifiers: public static
focal_class.parameters: (Object channelList)
focal_class.return: String
focal_class.signature: String beanToJsonAndFmDate(Object channelList)
focal_method.body: public static String beanToJson(Object bean){
  		try {
  			return getInstance().writeValueAsString(bean);
  		} catch (JsonGenerationException e) {
  			 logger.error(e.getMessage(),e);
  		} catch (JsonMappingException e) {
  			 logger.error(e.getMessage(),e);
  		} catch (IOException e) {
  			 logger.error(e.getMessage(),e);
  		}
      	return null;
      }
focal_method.class_method_signature: JsonUtils.beanToJson(Object bean)
focal_method.full_signature: public static String beanToJson(Object bean)
focal_method.identifier: beanToJson
focal_method.invocations: writeValueAsString getInstance error getMessage error getMessage error getMessage
focal_method.modifiers: public static
focal_method.parameters: (Object bean)
focal_method.return: String
focal_method.signature: String beanToJson(Object bean)