Brian Lopez

Results 60 comments of Brian Lopez

Oh right I get what you're saying now, sorry :P (been a long week) I think I like the :maxsize solution the best, and it should be fairly easy to...

Yeah I'd think just supporting the 3 major platforms and two architectures would be more than enough. Interesting that hub doesn't have a windows version, I just assumed it did....

:shipit:

I've been thinking about this lately as well. It's come up many times in the past I just wasn't sure how best to handle it other than just shipping the...

Interesting idea, I'll see if I can explore this a little more in my yajl-ruby 2.0 stuff (there's a branch going already). For now, something like this should work in...

Ah - this is because yajl-ruby will (for the sake of efficiency) handle encoding anything that directly translates to a native JSON type (string, number, float, true, false, nil, array...

Damn, didn't mean submit that yet... Anyway, in those cases I don't check for `to_json` being defined. The `to_json` check is more of a fallback in case the object being...

I want to actually drop the JSON gem compat API in yajl-ruby 2.0 (which I haven't had time to work on, heh). It's been a huge source of pain and...

Dammit my comment was lost in the transfer... Anyway I had a few examples in here of how Chrome, Safari and Firefox handle this. Chrome and Safari act like Yajl...

We probably don't need the `process_nested` boolean here if we can just infer that they want to use the feature based on if the `nested_depth` key exists in the options...