title: What is the difference between @XMLValue and @JsonValue
body: <p><code>@JsonValue</code> javadoc states: "Marker annotation similar to javax.xml.bind.annotation.XmlValue". Why is it similar and what are the differences?</p>
  
  <p>I am asking this as a newbie in JAXB, because the javadoc is too cryptic so I can't find the real intent of both, and why @JsonValue is not available in the Java EE spec since it enables us to properly serialize an object into a string (see <a href="https://stackoverflow.com/questions/26578239/serialize-the-whole-class-as-a-string-field-instead-of-a-json-object?noredirect=1#comment41832209_26578239">here</a> for context)</p>