Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在重启后恢复 JSON 流到文件中?
即,如果我使用 JsonGenerator 流式传输数组元素(记录)并且应用程序在流式传输过程中失败,是否有办法在应用程序重新启动时重建上下文(JsonWriteContext)?
是的,从 Jackson 1.9.4 开始,无法重建上下文。从 Tatu Saloranta 得到确认,请参阅邮件列表讨论:
http://markmail.org/message/mhx64nibm5ihi76i?q=list:org%2Ecodehaus%2Ejackson+JsonWriteContext#query:list%3Aorg.codehaus.jackson%20JsonWriteContext+page:1+mid:mhx64nibm5ihi76i+state:results