News for hackers. Stuff that matters.
Re:Show HN: Eligible API for 700+ Health Insurance Companies by 6ren on Friday August 10, 2012 @11:35PM (#4369340)
The deeply nested JSON (9 levels) seems difficult to understand without some kind of schema/detailed docs - though maybe domain users are already familiar with the underlying data's schema? Part of the problem is intrinsic data complexity, aside from EDI format. https://eligibleapi.com/restful-json-api/response

Also, it's simulating JSON [] lists as objects with fields named "Item #1", "Item #2", ... Seems an odd choice. e.g.

  "Deductible": {
    "Item #1": {
      "Calendar Year": "1500"
    },
    "Item #2": {
      "Remaining": "500"
    }
  },
EDIT: To clarify, below is the same snippet using JSON lists. The list syntax gives schema information (i.e. that it is a list), and is standard, readable and concise. Most parsers will map it to a list in the destination language, making it more natural to address and loop over; i.e. easier to process in general.

  "Deductible": [
    {
      "Calendar Year": "1500"
    },
    {
      "Remaining": "500"
    }
  ],
Re:Show HN: Eligible API for 700+ Health Insurance Companies by babel on Saturday August 11, 2012 @09:40AM (#4370065)
As already said in a previous comment: << To be fully honest, it has been an internal debate: "use or not use array" ;-) I personally wanted to use them... so, thanks for your feedback ;-) >>

@Kat, this is the 2nd point for using array ;-)

Re:Show HN: Eligible API for 700+ Health Insurance Companies by kategleason on Saturday August 11, 2012 @10:34AM (#4370169)
Three points from Max, lets do it!
Re:Show HN: Eligible API for 700+ Health Insurance Companies by kategleason on Saturday August 11, 2012 @12:55AM (#4369484)
We want to make the JSON as simple as possible to parse. I'll be posting full data sets to the documentation shortly. Feel free to email me with how you would prefer to see it handled.
Re:Show HN: Eligible API for 700+ Health Insurance Companies by kategleason on Tuesday August 14, 2012 @12:31AM (#4379413)
implemented! thanks.