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