arduino-libraries / Arduino_JSON

Official JSON Library for Arduino
GNU Lesser General Public License v2.1
151 stars 60 forks source link

Why is ArduinoJson missing from search results? #11

Closed bblanchon closed 4 years ago

bblanchon commented 4 years ago

Hi,

How is it possible that, when one searches "JSON" in arduino.cc, this library shows up, but ArduinoJson doesn't?

As far as I can tell, libraries are sorted by GitHub star, and ArduinoJson has 100x more stars than this library.

Are you purposely banning my library to promote your own? 🤨

Best regards, Benoit

PS: also on Twitter

image

matteosuppo commented 4 years ago

Hi, thanks for reporting this issue, sorry if it took time to get a reply, but it had to bubble up to the correct person.

What you're describing definitely looks like a bug: both the library manager and the search engine get their info from the same source: the library index. Your library shows up in the library manager so there's no reason it shouldn't be in the search.

We are going to find out what's going wrong, just a bit of patience.

bblanchon commented 4 years ago

Thanks a lot, @matteosuppo!

matteosuppo commented 4 years ago

Hello again,

We found and fixed the problem: underscores where being stripped, so Arduino_JSON conflicted with ArduinoJSON. Now you can see both of them: https://www.arduino.cc/search?q=json&tab=reference

You may find that your library ArduinoJson is not between the first results. That's because we don't actually sort them by github stars. They aren't sorted at all, actually, it's just an unfortunate coincidence.

bblanchon commented 4 years ago

Thank you very much @matteosuppo.