Solutionunvalidated
objectMapper.deactivateDefaultTyping(); — ObjectMapper to serialize the instance to string. Outcome: Updated Code:.
737a4ff1-d011-4635-8c65-ea2932c4957d
objectMapper.deactivateDefaultTyping(); — ObjectMapper to serialize the instance to string. Outcome: Updated Code:.