Jackson Integration for Metrics.
A set of Jackson modules which provide serializers for most Metrics classes..
Here is the list of declaration for metrics-json. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-json</artifactId> <version>3.0.1</version> </dependency>
If you think this Maven repository POM file listing for metrics-json is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following packages are defined in the metrics-json-3.0.1.jar
com.codahale.metrics.json
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-parent</artifactId> <version>3.0.1</version> </parent> <artifactId>metrics-json</artifactId> <name>Jackson Integration for Metrics</name> <packaging>bundle</packaging> <description> A set of Jackson modules which provide serializers for most Metrics classes. </description> <dependencies> <dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.codahale.metrics</groupId> <artifactId>metrics-healthchecks</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> </dependencies> </project>