3 ms·
Nice, I was about to write one tomorrow.
by realrocker 14y ago
Nice, I was about to write one tomorrow.
- chimeracoder 14y agoIf you're interested, there's still some low-hanging fruit left, namely in two edge cases: 1. It assumes all slices to be of type []interface{} by default, though oftentimes a more precise type is possible. (This is just a matter of looping through and determining the most specific type) 2. It only accepts valid JSON. Not a bug, but for example, the sample responses on the foursquare API documentation omit the (required) quotation marks around identifiers: https://developer.foursquare.com/docs/venues/venues https://developer.foursquare.com/docs/venues/venues (click "Try it Out"). That's a common problem which I'd like to fix eventually.