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.
メソッド内で、JsonDeserializer#deserialize(JsonParser jp, DeserializationContext ctx)現在逆シリアル化されているフィールド (トークン) の親を見つけるにはどうすればよいですか?
JsonDeserializer#deserialize(JsonParser jp, DeserializationContext ctx)
親とは、タイプが である現在のフィールドの祖先で最も近いトークンを意味しますSTART_OBJECT。
START_OBJECT
できません; 情報が親デシリアライザーによって使用されている間、オーバーヘッドを最小限に抑えるために、情報が渡されたり維持されたりすることはありません。