@Test public void initDefaults() { DefaultResultSerializer resultSerializer = DefaultResultSerializer.createDefault(); assertThat(resultSerializer.getTypeNames()).isNotNull(); assertThat(resultSerializer.getTypeNames()).isEmpty(); assertThat(resultSerializer.getTags()).isNotNull(); assertThat(resultSerializer.getTags()).isEmpty(); }
static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } @JsonCreator  DefaultResultSerializer(@JsonProperty("typeNames") List<String> typeNames,
									@JsonProperty("booleanAsNumber") boolean booleanAsNumber,
									@JsonProperty("rootPrefix") String rootPrefix,
									@JsonProperty("tags") Map<String, String> tags,
									@JsonProperty("resultTags") List<String> resultTags
									); }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } @JsonCreator  DefaultResultSerializer(@JsonProperty("typeNames") List<String> typeNames,
									@JsonProperty("booleanAsNumber") boolean booleanAsNumber,
									@JsonProperty("rootPrefix") String rootPrefix,
									@JsonProperty("tags") Map<String, String> tags,
									@JsonProperty("resultTags") List<String> resultTags
									); @Override String serialize(Server server, Query query, Result result); }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } @JsonCreator  DefaultResultSerializer(@JsonProperty("typeNames") List<String> typeNames,
									@JsonProperty("booleanAsNumber") boolean booleanAsNumber,
									@JsonProperty("rootPrefix") String rootPrefix,
									@JsonProperty("tags") Map<String, String> tags,
									@JsonProperty("resultTags") List<String> resultTags
									); @Override String serialize(Server server, Query query, Result result);  }