Natvis file for version 3.12.0 does not contain a type definition for detail::json_default_base
Description
With version 3.12.0 the underlying type for a nlohmann::json is nlohmann::json_abi_diag_v3_12_0::detail::json_default_base and this type does not have a Type definition in the corresponding natvis template and generated natvis file.
Reproduction steps
Add the natvis file to your project and try to introspect a nlohmann::json object
Expected vs. actual results
Introspection based on natvis file is not used.
Minimal code example
Error messages
Compiler and operating system
Windows 11, Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.14.19
Library version
3.12.0
Validation
- [ ] The bug also occurs if the latest version from the
developbranch is used. - [ ] I can successfully compile and run the unit tests.
I can submit a PR that adds <Type Name="{{ ns }}::detail::json_default_base"> in the nlohmann_json.natvis.j2 file
Please do! Thanks for submitting!
Why do you need a natvis entry for an empty class?
Why do you need a natvis entry for an empty class?
Please see my detailed explanation from the PR comment on this
Looking at https://github.com/nlohmann/json/pull/4973, I get the feeling the problem is not fully understood, and the change just happen to make the problem disappear. It would be great to know for certain what needs to be done.