目录一、为什么需要自定义 jsON 转换器?二、基本模式:实现 JsonConverter<T>2.1 适用场景2.2 核心方法2.3 实战案例:日期格式自定义转换器场景需求使用示例技术细节三、工厂模式:处理开放式泛型类型3.1 适用
I am trying to print the stack trace of the exception. However, for negative test case, only the unexpected exception is printed.