So, I know I've run into this issue before -- but ...
# lucee
q
So, I know I've run into this issue before -- but for the built-in REST servlet in Lucee, is there a way to override the default serializer? I'm trying to output XML for a service, and it's making bad decisions (at best, it's adding quotes around the output, and at worst it's adding a bunch of random nodes to the XML object when it serializes it out.
👍 1
Correct answer was to use the SetRESTResponse() function, pass in an object with "content". that overrides the rest engine buffer, going around any serializers.