Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong function name in documentation example #4334

Closed
2 tasks
anderay opened this issue Apr 7, 2024 · 2 comments · Fixed by #4342
Closed
2 tasks

Wrong function name in documentation example #4334

anderay opened this issue Apr 7, 2024 · 2 comments · Fixed by #4342

Comments

@anderay
Copy link

anderay commented Apr 7, 2024

Description

Should be "from_json(...)" instead "to_json(...)"

Reproduction steps

Read the doc with understanding

Expected vs. actual results

Proper example

Minimal code example

No response

Error messages

No response

Compiler and operating system

N/A

Library version

N/A

Validation

@nlohmann
Copy link
Owner

nlohmann commented Apr 7, 2024

Where exactly in the docs?

@anderay
Copy link
Author

anderay commented Apr 7, 2024

static void to_json(const BasicJsonType& j, T& value) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants