K0K0V0K commented on PR #8033: URL: https://github.com/apache/hadoop/pull/8033#issuecomment-3451594779
Thanks @slfan1989 for the review! Sorry for the delay, i was on PTO. I added an extra change, replaced the jersey-media-moxy with a native moxy dependency. https://github.com/eclipse-ee4j/jersey/blob/12a057315292a624ceb31b58bd04eec3cb19a819/media/moxy/src/main/java/org/glassfish/jersey/moxy/json/internal/MoxyJsonAutoDiscoverable.java#L35 If the jersey-media-moxy become a transitive dependency for an other project where jersey2 autodiscovery is enabled it can broke the message transformation process. Unfortunately i was not able to find solution for the `attributes` issue. Moxy has this `eclipselink.json.marshal-empty-collections` property what can change the behaviour of empty List / JSON-s, but i did not find a way to marshal empty map as empty string, and also we have to be careful that at jersey1 empty Lists are should not be marshalled. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
