Using Jongo and Jackson 2, how to deserialize a MongoDB ObjectId (represented under String _id in a POJO) to an hexadecimal String representation?
问题 I use the latest version of MongoDB database and the latest version of the official JAVA MongoDB driver. The dependencies that I use in my pom.xml: <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> ... <jersey.container.version>2.13</jersey.container.version> <jackson.version>2.4.3</jackson.version> <genson.version>1.1</genson.version> <jongo.version>1.1</jongo