pybind11_json icon indicating copy to clipboard operation
pybind11_json copied to clipboard

Using nlohmann::json with pybind11

Results 12 pybind11_json issues
Sort by recently updated
recently updated
newest added

NLohmann JSON version 3.10.4 has binary arrays: https://json.nlohmann.me/api/basic_json/binary/ If such array is encountered in JSON object, pyjson::from_json() crashes with stack overflow because it falls to "else // Object" clause and...

enhancement

There seem to be an error when trying to serialize `bytes, bytearray, memoryview` objects

When ```BUILD_TESTS=ON``` it builds the executable ```test_pybind11_json``` but 'make test' doesn't run it.

enhancement

Hi, I must say I really like the idea of this utility to ease my parameters structures usage in Python. I encountered an issue with bound enumerations. I use enumerations...

Using pixi. Should be faster, simpler, and locked. Updating a few things that were spewing warnings.

Adding support for the `ordered_json` type in addition to currently used `json` would be beneficial for users intending to preserve order of elements in the JSON structures. For further discussion,...

Hi, sorry for being lame but I can't put together a complete working example with pybind11_json. Here is what I need to do: 1.) I have a native C++ class...

This removes the redundant move in a couple of return statements

Is possible to "register" support for serialize other kind of non trivial python object like `pathlib.Path` --> serialized as `str`?

Do you have a sense how feasible it would be to migrate this library to nanobind? This library is one of the last sticking points preventing me moving a large...