Hugo van Kemenade

Results 1204 comments of Hugo van Kemenade

@AnjoMan Hello! If you're still interested, looks like this is the relevant chunk: https://github.com/ultrajson/ultrajson/blob/7c60d4721f60da284bd24017e12679935e97e99f/lib/ultrajsonenc.c#L508-L520 And it should do this, to handle non-integers: > If _indent_ is a non-negative integer or...

Please see https://github.com/ultrajson/ultrajson/issues/374#issuecomment-596937867 and https://github.com/ultrajson/ultrajson/commit/53f85b1bd6e4f27a3e4cdc605518c48a6c7e7e9e: > # Removed generic serialization of objects/iterables > > The behavior of ujson has always been to try to serialize all objects in any way...

UltraJSON aims to have a similar API to the stdlib `json` library, I guess you can't do it with that either? I've not seen those benchmarks before, you'd have to...

Thanks for the report. Please could you give an example code snippet of what you're expecting? And is this available with the stdlib `json`? If not, I think it's unlikely...

Note: https://github.com/explosion/srsly/issues/4 was fixed by PR https://github.com/explosion/srsly/pull/5 which is a port of PR https://github.com/ultrajson/ultrajson/pull/270, not yet fully merged.

Although it would be good to retest with 2.0.0 to see if the merged subsets of #270 have fixed this particular issue.

The CI doesn't update the benchmarks in the README, they were last updated in https://github.com/ultrajson/ultrajson/pull/395. But the benchmarks are run on the CI, so that's certainly an option! PR welcome!...

@bwoodsend I just turned this setting on in the repo: Which gives us these buttons: And it says there are no conflicts. So if you like, you can rebase it...

Hi! The `double_precision` option was removed in https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a. Here's the commit message: > To fix issues with floating-point precision we've made use of Google's double-conversion lib to handle conversions of...

Please check the commit for more info, but yeah, looks like Google's library is used for all conversions of doubles to and from strings.