Creepers-Help / bitlyj

Automatically exported from code.google.com/p/bitlyj
0 stars 0 forks source link

Why the JSON dependency #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to compile bitlyj
2. Requires JSON and several further dependencies
3.

The bit.ly API supports format=xml in addition to format=json.

XML parsing is native to the Java platform, hence if bitlyj were to use the
XML format in bit.ly calls it would remove a compile dependency.

Original issue reported on code.google.com by reiki...@gmail.com on 29 Jun 2009 at 4:51

GoogleCodeExporter commented 9 years ago
reikiman, see http://code.google.com/p/bitlyj/issues/detail?id=1#c3 - may be 
this
will be appropriate to you.

Original comment by bohtvaroh@gmail.com on 9 Sep 2009 at 4:56

GoogleCodeExporter commented 9 years ago
The XML produced by bitly is invalid and fails to parse in sane parsers. I 
filed an
issue months ago with bitly, apparently still in limbo. Details on the bug:
http://code.google.com/p/bitly-api/issues/detail?id=2

Original comment by ch...@rosaloves.com on 6 Oct 2009 at 4:11

GoogleCodeExporter commented 9 years ago
I'm closing this out. JSON parsing isn't a huge task, but I'm not into 
reinventing
the wheel. When bitly starts producing valid XML (it's the hashes that fail), 
this
dep can be removed.

Original comment by ch...@rosaloves.com on 7 Oct 2009 at 2:39