Romain Manni-Bucau created JOHNZON-115: ------------------------------------------
Summary: Add org.apache.johnzon.mapper.SerializeValueFilter hook to allow a programmatic filtering of values Key: JOHNZON-115 URL: https://issues.apache.org/jira/browse/JOHNZON-115 Project: Johnzon Issue Type: Bug Reporter: Romain Manni-Bucau Assignee: Romain Manni-Bucau Fix For: 1.1.0 {code} public interface SerializeValueFilter { /** * @param name the attribute name if set. * @param value the value which will get serialized. * @return true if the value should be ignored and not serialized. */ boolean shouldIgnore(String name, Object value); } {code} Idea is to integrate smoothly with some libraries doing some unexpected operations when browsing the object graph. Goal is to bypass the serialization when we know it will happen. -- This message was sent by Atlassian JIRA (v6.3.15#6346)