@Test void singleGroupEntryACLShouldBeWellSerialized() throws Exception { assertThatJson(MailboxACLJsonConverter.toJson(new ACLMapBuilder().addSingleGroupEntryToMap().buildAsACL())) .when(Option.IGNORING_ARRAY_ORDER) .isEqualTo("{\"entries\":{\"-$group\":\"lprstwx\"}}"); }
public static String toJson(MailboxACL acl) throws JsonProcessingException { return objectMapper.writeValueAsString(acl); }
MailboxACLJsonConverter { public static String toJson(MailboxACL acl) throws JsonProcessingException { return objectMapper.writeValueAsString(acl); } }
MailboxACLJsonConverter { public static String toJson(MailboxACL acl) throws JsonProcessingException { return objectMapper.writeValueAsString(acl); }  }
MailboxACLJsonConverter { public static String toJson(MailboxACL acl) throws JsonProcessingException { return objectMapper.writeValueAsString(acl); }  static String toJson(MailboxACL acl); static MailboxACL toACL(String jsonACLString); }
MailboxACLJsonConverter { public static String toJson(MailboxACL acl) throws JsonProcessingException { return objectMapper.writeValueAsString(acl); }  static String toJson(MailboxACL acl); static MailboxACL toACL(String jsonACLString);  }