Java Code Examples for com.fasterxml.jackson.annotation.JsonInclude.Include#NON_EMPTY
The following examples show how to use
com.fasterxml.jackson.annotation.JsonInclude.Include#NON_EMPTY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InstrumentationConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String subTypeRestriction() { return ""; }
Example 2
Source File: UserConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public boolean ldap() { return false; }
Example 3
Source File: JsonObject.java From development with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) public String getLocale() { return locale; }
Example 4
Source File: LdapConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String username() { return ""; }
Example 5
Source File: SyntheticMonitorConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String pingUrl() { return ""; }
Example 6
Source File: ResourceDto.java From brooklyn-server with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) public List<String> getTags() { return tags; }
Example 7
Source File: InstrumentationConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String transactionType() { return ""; }
Example 8
Source File: SmtpConfig.java From glowroot with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) public abstract Map<String, String> additionalProperties();
Example 9
Source File: SyntheticMonitorConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String javaSource() { return ""; }
Example 10
Source File: AdvancedConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public boolean weavingTimer() { return false; }
Example 11
Source File: InstrumentationConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String timerName() { return ""; }
Example 12
Source File: AssemblyDto.java From brooklyn-server with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) public List<LinkDto> getPlatformComponents() { return platformComponents; }
Example 13
Source File: PagerDutyConfig.java From glowroot with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) public abstract List<ImmutablePagerDutyIntegrationKey> integrationKeys();
Example 14
Source File: AllConfigDto.java From glowroot with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) abstract List<ImmutableSyntheticMonitorConfig> syntheticMonitors();
Example 15
Source File: TransactionConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String transactionName() { return ""; }
Example 16
Source File: AllConfigDto.java From glowroot with Apache License 2.0 | 4 votes |
@JsonInclude(Include.NON_EMPTY) abstract List<ImmutableAlertConfig> alerts();
Example 17
Source File: HealthchecksIoConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(value = Include.NON_EMPTY) public String pingUrl() { return ""; }
Example 18
Source File: InstrumentationConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String traceEntryMessageTemplate() { return ""; }
Example 19
Source File: EmbeddedAdminGeneralConfig.java From glowroot with Apache License 2.0 | 4 votes |
@Value.Default @JsonInclude(Include.NON_EMPTY) public String agentDisplayName() { return ""; }
Example 20
Source File: JsonMapper.java From j360-dubbo-app-all with Apache License 2.0 | 2 votes |
/** * 创建只输出非Null且非Empty(如List.isEmpty)的属性到Json字符串的Mapper. * * 注意,要小心使用, 特别留意empty的情况. */ public static JsonMapper nonEmptyMapper() { return new JsonMapper(Include.NON_EMPTY); }