You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Offer{
/** * @Type("Price") */private$cost;
}
class Price {
/** * @XmlAttribute */private$currency;
/** * @Type("double") */private$price;
}
As you can see there is not attribute to tell that price should be the content of the xml node. So it would be very useful to have some kind of @XmlContent annotation to do this.
The text was updated successfully, but these errors were encountered:
Hi,
I would like to to deserialize this :
Into these classes :
As you can see there is not attribute to tell that
price
should be the content of the xml node. So it would be very useful to have some kind of@XmlContent
annotation to do this.The text was updated successfully, but these errors were encountered: