0

my question is if there is a Yasson/Json-B equivalent for com.fasterxml.jackson.annotation.JsonValue

From the documentation of JsonValue:

Marker annotation that indicates that the value of annotated accessor (either field or "getter" method [a method with non-void return type, no args]) is to be used as the single value to serialize for the instance, instead of the usual method of collecting properties of value. Usually value will be of a simple scalar type (String or Number), but it can be any serializable type (Collection, Map or Bean)...

Thank you in advance for any help.

MedMahmoud
  • 117
  • 1
  • 2
  • 15

0 Answers0