XStream
  1. XStream
  2. XSTR-663

@XStreamAsValue - define that a field should be serialized as the node's value

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.2
    • Component/s: Annotations
    • Labels:
      None

      Description

      @XStreamAlias("node")
      public class Node

      { @XStreamAsValue private String value = "test"; }

      Should be serialized to:
      <node>test</node>

        People

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

          Dates

          • Created:
            Updated:
            Resolved: