#4972·json

Natvis file for version 3.12.0 does not contain a type definition for detail::json_default_base

Author: sakuntalleCreated Oct 29, 2025Updated Sep 27, 2026
Labelskind: bugsolution: proposed fix

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

bash

Error messages

bash

Compiler and operating system

Windows 11, Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.14.19

Library version

3.12.0

Validation