Skip to content

Commit

Permalink
Mention nanobind's solution (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou authored Nov 4, 2024
1 parent 22528f7 commit 482c9a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
![Tests](https://github.com/pybind/pybind11_json/workflows/Tests/badge.svg)

# pybind11_json

`pybind11_json` is an `nlohmann::json` to `pybind11` bridge, it allows you to automatically convert `nlohmann::json` to `py::object` and the other way around. Simply include the header, and the automatic conversion will be enabled.

> [!TIP]
> Looking for an equivalent with nanobind? Check this out https://github.com/ianhbell/nanobind_json !
## C++ API: Automatic conversion between `nlohmann::json` and `pybind11` Python objects

```cpp
Expand Down

0 comments on commit 482c9a2

Please sign in to comment.