java-commons

Languages and libraries

java library

SHOW HN2018

6points
5comments
#1,989of 2,155 in 2018
Top 93%of 2018 by points

How HN took it

QuietFewer than 5 comments about the project

0 positive, 1 neutral or asking, 0 mixed, 0 critical, out of 1 comments about the project.

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

Objections

  • Converting to a Map with toMap() is slow on large JSON

    From 1 comment
    • Yes this also works. We were using this for a while until we landed up with very large JSON's. .toMap() is very expensive and takes significantly longer to execute on large JSON's.
      sanketsarang on HN

Questions

  • Can strings simply be compared for JSON equality

    From 1 comment
    • Can't one just simply check if the strings are equal?
      mscasts on HN

Alternatives named

  • Compare via toMap().equals() on JsonObject

    From 1 comment
    • Thought I'd share something I discovered about Json comparison. This simple line also works: ``` return jsonObject1.toMap().equals(jsonObject2.equals); ``` because JsonObject…
      jermo on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/18646202)