Is there a Annotation or some other way to tell Jackson to Serialize a String variables's value without quotation marks. The serializer should only serialize the one field's value without quotation marks.
I am looking for a return of something similar to:
{"name": "nameValue", "click" : function (e){console.log("message");}}
instead of
{"name": "nameValue", "click" : "function (e){console.log("message");}"}
The above is how an external java script library requires the data, so if there is not a way i will have to manual alter the string after the Object Mapper has converted it to JSON.