@Override public GeoService deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { CreepyGeoService creepyGeoService = context.deserialize(json, CreepyGeoService.class); GeoService.Builder builder = GeoService.builder(); builder.name(creepyGeoService.name); builder.active("Y".equals(creepyGeoService.active)); builder.ttl(creepyGeoService.ttl); builder.nodes(creepyGeoService.nodes); builder.groups(creepyGeoService.groups); return builder.build(); } }
@Override public GeoService deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { CreepyGeoService creepyGeoService = context.deserialize(json, CreepyGeoService.class); GeoService.Builder builder = GeoService.builder(); builder.name(creepyGeoService.name); builder.active("Y".equals(creepyGeoService.active)); builder.ttl(creepyGeoService.ttl); builder.nodes(creepyGeoService.nodes); builder.groups(creepyGeoService.groups); return builder.build(); } }
@Override public GeoService deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { CreepyGeoService creepyGeoService = context.deserialize(json, CreepyGeoService.class); GeoService.Builder builder = GeoService.builder(); builder.name(creepyGeoService.name); builder.active("Y".equals(creepyGeoService.active)); builder.ttl(creepyGeoService.ttl); builder.nodes(creepyGeoService.nodes); builder.groups(creepyGeoService.groups); return builder.build(); } }
ImmutableMap.<String, Object> builder() .put("cname", "srv-000000002.us-east-1.elb.amazonaws.com.") .build()).build()).build()).build()).build();
ImmutableMap.<String, Object> builder() .put("cname", "srv-000000002.us-east-1.elb.amazonaws.com.") .build()).build()).build()).build()).build();
@Override public GeoService deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { CreepyGeoService creepyGeoService = context.deserialize(json, CreepyGeoService.class); GeoService.Builder builder = GeoService.builder(); builder.name(creepyGeoService.name); builder.active("Y".equals(creepyGeoService.active)); builder.ttl(creepyGeoService.ttl); builder.nodes(creepyGeoService.nodes); builder.groups(creepyGeoService.groups); return builder.build(); } }
@Override public GeoService deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { CreepyGeoService creepyGeoService = context.deserialize(json, CreepyGeoService.class); GeoService.Builder builder = GeoService.builder(); builder.name(creepyGeoService.name); builder.active("Y".equals(creepyGeoService.active)); builder.ttl(creepyGeoService.ttl); builder.nodes(creepyGeoService.nodes); builder.groups(creepyGeoService.groups); return builder.build(); } }