Java Code Examples for org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonParser#readValueAs()
The following examples show how to use
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonParser#readValueAs() .
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: MetricCollectionResponseBody.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public MetricCollectionResponseBody deserialize( JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { return new MetricCollectionResponseBody(jsonParser.readValueAs( new TypeReference<List<Metric>>() { })); }
Example 2
Source File: AggregatedMetricsResponseBody.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public AggregatedMetricsResponseBody deserialize( JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { return new AggregatedMetricsResponseBody(jsonParser.readValueAs( new TypeReference<List<AggregatedMetric>>() { })); }
Example 3
Source File: MetricCollectionResponseBody.java From flink with Apache License 2.0 | 5 votes |
@Override public MetricCollectionResponseBody deserialize( JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { return new MetricCollectionResponseBody(jsonParser.readValueAs( new TypeReference<List<Metric>>() { })); }
Example 4
Source File: AggregatedMetricsResponseBody.java From flink with Apache License 2.0 | 5 votes |
@Override public AggregatedMetricsResponseBody deserialize( JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { return new AggregatedMetricsResponseBody(jsonParser.readValueAs( new TypeReference<List<AggregatedMetric>>() { })); }
Example 5
Source File: MetricCollectionResponseBody.java From flink with Apache License 2.0 | 5 votes |
@Override public MetricCollectionResponseBody deserialize( JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { return new MetricCollectionResponseBody(jsonParser.readValueAs( new TypeReference<List<Metric>>() { })); }
Example 6
Source File: AggregatedMetricsResponseBody.java From flink with Apache License 2.0 | 5 votes |
@Override public AggregatedMetricsResponseBody deserialize( JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { return new AggregatedMetricsResponseBody(jsonParser.readValueAs( new TypeReference<List<AggregatedMetric>>() { })); }