How to remove the "nameValuePairs" key from a json in java SpringBoot?
I have the following method that when receiving an xml in a String converts it to objects of type CitiMarketSSAEvent public CitiMarketSSAEvent convertXmlToObject(String xml){ CitiMarketSSAEvent citiMarket = null; JAXBContext jaxbContext = JAXBContext.newInstance(CitiMarketSSAEvent.class); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); StringReader reader = new…