Skip to content
Advertisement

Tag: jsonserializer

FasterXml – JsonSerializer HashMap

I’m using jackson-databind version 2.12.3 to serialize the return of an object that should return like this: My classes are these: The return is myObject: However with the default ObjectMapper the “link.setField” is ignored and the returned json is: I tried doing some tests with JsonSerializer but couldn’t do something generic for all classes that extend HashMap (these classes are

Advertisement