| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * --> |
| 4 |
<!-- Edit ./tools/generate_natvis/nlohmann_json.natvis.j2 --> |
| 5 |
<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * --> |
| 6 |
|
| 7 |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> |
| 8 |
{% for ns in namespaces %} |
| 9 |
<!-- Namespace {{ ns }} --> |
| 10 |
<Type Name="{{ ns }}::basic_json<*>"> |
| 11 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::null">null</DisplayString> |
| 12 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::object">{*(m_data.m_value.object)}</DisplayString> |
| 13 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::array">{*(m_data.m_value.array)}</DisplayString> |
| 14 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::string">{*(m_data.m_value.string)}</DisplayString> |
| 15 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::boolean">{m_data.m_value.boolean}</DisplayString> |
| 16 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::number_integer">{m_data.m_value.number_integer}</DisplayString> |
| 17 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::number_unsigned">{m_data.m_value.number_unsigned}</DisplayString> |
| 18 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::number_float">{m_data.m_value.number_float}</DisplayString> |
| 19 |
<DisplayString Condition="m_data.m_type == {{ ns }}::detail::value_t::discarded">discarded</DisplayString> |
| 20 |
<Expand> |
| 21 |
<ExpandedItem Condition="m_data.m_type == {{ ns }}::detail::value_t::object"> |
| 22 |
*(m_data.m_value.object),view(simple) |
| 23 |
</ExpandedItem> |
| 24 |
<ExpandedItem Condition="m_data.m_type == {{ ns }}::detail::value_t::array"> |
| 25 |
*(m_data.m_value.array),view(simple) |
| 26 |
</ExpandedItem> |
| 27 |
</Expand> |
| 28 |
</Type> |
| 29 |
|
| 30 |
<!-- Skip the pair first/second members in the treeview while traversing a map. |
| 31 |
Only works in VS 2015 Update 2 and beyond using the new visualization --> |
| 32 |
<Type Name="std::pair<*, {{ ns }}::basic_json<*>>" IncludeView="MapHelper"> |
| 33 |
<DisplayString>{second}</DisplayString> |
| 34 |
<Expand> |
| 35 |
<ExpandedItem>second</ExpandedItem> |
| 36 |
</Expand> |
| 37 |
</Type> |
| 38 |
|
| 39 |
{% endfor %} |
| 40 |
</AutoVisualizer> |