XStream
  1. XStream
  2. XSTR-720

Annotation to override the 'transient' modifier

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.4
    • Fix Version/s: None
    • Component/s: Annotations
    • Labels:
      None

      Description

      XStream autoamtically skips transient fields. Where I use both Java serialization and XStream, I want to be able to mark certain fields such that Java serialization ignores it but XStream won't.

      This patch adds an annotation to do this.

      1. XSTR-720.diff
        2 kB
        Kohsuke Kawaguchi

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Kohsuke Kawaguchi
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated: