---
title: "Discussion on \"Comparing Objects with the Jackson API\" | Hashnode"
description: "Discussion on \"Comparing Objects with the Jackson API\". Java Comparator using JsonNode and ObjectMapper"
url: "https://hashnode.com/posts/comparing-objects-with-the-jackson-api/612d5ee82858872661b9ed46"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Comparing Objects with the Jackson API](https://cjack0416.hashnode.dev/comparing-objects-with-the-jackson-api?utm_source=hashnode&utm_medium=feed)

Java Comparator using JsonNode and ObjectMapper

Aug 30, 2021 · 7 min read · cjack0416.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Chris Jackson](https://hashnode.com/@cjack0416)

@cjack0416

  
[View profile](https://hashnode.com/@cjack0416)

My name’s Chris, and I like to make web/mobile apps, games and robots.

## Responses 2

Markdown supported · ⌘↵ to post

[Dhananjay Dahiya](https://hashnode.com/@urdad)

[May 30, 2025](https://hashnode.com/posts/comparing-objects-with-the-jackson-api/612d5ee82858872661b9ed46/comment/6839bdd4c07cf811dfca1b52)

Just wondering if it has 100% accuracy of matching the fields.

We technically have key value pair. What if it is has duplicate keys?

[Edem Gold](https://hashnode.com/@GoldEdem)

[Aug 30, 2021](https://hashnode.com/posts/comparing-objects-with-the-jackson-api/612d5ee82858872661b9ed46/comment/612d63152858872661b9ed7f)

Haha swrs work bro

[Edem Gold](https://hashnode.com/@GoldEdem)

[Aug 30, 2021](https://hashnode.com/posts/comparing-objects-with-the-jackson-api/612d5ee82858872661b9ed46/comment/612d63152858872661b9ed7f#reply-612d63242858872661b9ed86)

Sorry \*awesome

[Chris Jackson](https://hashnode.com/@cjack0416)

[Aug 31, 2021](https://hashnode.com/posts/comparing-objects-with-the-jackson-api/612d5ee82858872661b9ed46/comment/612d63152858872661b9ed7f#reply-612e36a51dd572151d81d477)

Thanks for the support man!

[Edem Gold](https://hashnode.com/@GoldEdem)

[Aug 31, 2021](https://hashnode.com/posts/comparing-objects-with-the-jackson-api/612d5ee82858872661b9ed46/comment/612d63152858872661b9ed7f#reply-612e3c664e9d8114f8aded09)

Always bro [Chris Jackson](https://hashnode.com/@cjack0416)
