Skip to content

Commit e877b01

Browse files
Generate Natvis file for 3.11.2
1 parent e028583 commit e877b01

File tree

1 file changed

+246
-2
lines changed

1 file changed

+246
-2
lines changed

nlohmann_json.natvis

Lines changed: 246 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * -->
2+
<!-- Edit ./tools/generate_natvis/nlohmann_json.natvis.j2 -->
3+
<!-- * * * * * * * * AUTO-GENERATED FILE * * * * * * * * -->
14
<?xml version="1.0" encoding="utf-8"?>
25
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
6+
<!-- Namespace nlohmann -->
37
<Type Name="nlohmann::basic_json&lt;*&gt;">
48
<DisplayString Condition="m_type == nlohmann::detail::value_t::null">null</DisplayString>
59
<DisplayString Condition="m_type == nlohmann::detail::value_t::object">{*(m_value.object)}</DisplayString>
@@ -20,13 +24,253 @@
2024
</Expand>
2125
</Type>
2226

23-
<!-- skip the pair first/second members in the treeview while traversing a map.
24-
Only works in VS 2015 Update 2 and beyond using the new visualization -->
27+
<!-- Skip the pair first/second members in the treeview while traversing a map.
28+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
2529
<Type Name="std::pair&lt;*, nlohmann::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
2630
<DisplayString>{second}</DisplayString>
2731
<Expand>
2832
<ExpandedItem>second</ExpandedItem>
2933
</Expand>
3034
</Type>
3135

36+
<!-- Namespace nlohmann::json_abi -->
37+
<Type Name="nlohmann::json_abi::basic_json&lt;*&gt;">
38+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::null">null</DisplayString>
39+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::object">{*(m_value.object)}</DisplayString>
40+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::array">{*(m_value.array)}</DisplayString>
41+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::string">{*(m_value.string)}</DisplayString>
42+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::boolean">{m_value.boolean}</DisplayString>
43+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
44+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
45+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::number_float">{m_value.number_float}</DisplayString>
46+
<DisplayString Condition="m_type == nlohmann::json_abi::detail::value_t::discarded">discarded</DisplayString>
47+
<Expand>
48+
<ExpandedItem Condition="m_type == nlohmann::json_abi::detail::value_t::object">
49+
*(m_value.object),view(simple)
50+
</ExpandedItem>
51+
<ExpandedItem Condition="m_type == nlohmann::json_abi::detail::value_t::array">
52+
*(m_value.array),view(simple)
53+
</ExpandedItem>
54+
</Expand>
55+
</Type>
56+
57+
<!-- Skip the pair first/second members in the treeview while traversing a map.
58+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
59+
<Type Name="std::pair&lt;*, nlohmann::json_abi::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
60+
<DisplayString>{second}</DisplayString>
61+
<Expand>
62+
<ExpandedItem>second</ExpandedItem>
63+
</Expand>
64+
</Type>
65+
66+
<!-- Namespace nlohmann::json_abi_v3_11_2 -->
67+
<Type Name="nlohmann::json_abi_v3_11_2::basic_json&lt;*&gt;">
68+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::null">null</DisplayString>
69+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::object">{*(m_value.object)}</DisplayString>
70+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::array">{*(m_value.array)}</DisplayString>
71+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::string">{*(m_value.string)}</DisplayString>
72+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::boolean">{m_value.boolean}</DisplayString>
73+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
74+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
75+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::number_float">{m_value.number_float}</DisplayString>
76+
<DisplayString Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::discarded">discarded</DisplayString>
77+
<Expand>
78+
<ExpandedItem Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::object">
79+
*(m_value.object),view(simple)
80+
</ExpandedItem>
81+
<ExpandedItem Condition="m_type == nlohmann::json_abi_v3_11_2::detail::value_t::array">
82+
*(m_value.array),view(simple)
83+
</ExpandedItem>
84+
</Expand>
85+
</Type>
86+
87+
<!-- Skip the pair first/second members in the treeview while traversing a map.
88+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
89+
<Type Name="std::pair&lt;*, nlohmann::json_abi_v3_11_2::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
90+
<DisplayString>{second}</DisplayString>
91+
<Expand>
92+
<ExpandedItem>second</ExpandedItem>
93+
</Expand>
94+
</Type>
95+
96+
<!-- Namespace nlohmann::json_abi_diag -->
97+
<Type Name="nlohmann::json_abi_diag::basic_json&lt;*&gt;">
98+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::null">null</DisplayString>
99+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::object">{*(m_value.object)}</DisplayString>
100+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::array">{*(m_value.array)}</DisplayString>
101+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::string">{*(m_value.string)}</DisplayString>
102+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::boolean">{m_value.boolean}</DisplayString>
103+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
104+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
105+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::number_float">{m_value.number_float}</DisplayString>
106+
<DisplayString Condition="m_type == nlohmann::json_abi_diag::detail::value_t::discarded">discarded</DisplayString>
107+
<Expand>
108+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag::detail::value_t::object">
109+
*(m_value.object),view(simple)
110+
</ExpandedItem>
111+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag::detail::value_t::array">
112+
*(m_value.array),view(simple)
113+
</ExpandedItem>
114+
</Expand>
115+
</Type>
116+
117+
<!-- Skip the pair first/second members in the treeview while traversing a map.
118+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
119+
<Type Name="std::pair&lt;*, nlohmann::json_abi_diag::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
120+
<DisplayString>{second}</DisplayString>
121+
<Expand>
122+
<ExpandedItem>second</ExpandedItem>
123+
</Expand>
124+
</Type>
125+
126+
<!-- Namespace nlohmann::json_abi_diag_v3_11_2 -->
127+
<Type Name="nlohmann::json_abi_diag_v3_11_2::basic_json&lt;*&gt;">
128+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::null">null</DisplayString>
129+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::object">{*(m_value.object)}</DisplayString>
130+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::array">{*(m_value.array)}</DisplayString>
131+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::string">{*(m_value.string)}</DisplayString>
132+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::boolean">{m_value.boolean}</DisplayString>
133+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
134+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
135+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::number_float">{m_value.number_float}</DisplayString>
136+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::discarded">discarded</DisplayString>
137+
<Expand>
138+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::object">
139+
*(m_value.object),view(simple)
140+
</ExpandedItem>
141+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag_v3_11_2::detail::value_t::array">
142+
*(m_value.array),view(simple)
143+
</ExpandedItem>
144+
</Expand>
145+
</Type>
146+
147+
<!-- Skip the pair first/second members in the treeview while traversing a map.
148+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
149+
<Type Name="std::pair&lt;*, nlohmann::json_abi_diag_v3_11_2::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
150+
<DisplayString>{second}</DisplayString>
151+
<Expand>
152+
<ExpandedItem>second</ExpandedItem>
153+
</Expand>
154+
</Type>
155+
156+
<!-- Namespace nlohmann::json_abi_ldvcmp -->
157+
<Type Name="nlohmann::json_abi_ldvcmp::basic_json&lt;*&gt;">
158+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::null">null</DisplayString>
159+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::object">{*(m_value.object)}</DisplayString>
160+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::array">{*(m_value.array)}</DisplayString>
161+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::string">{*(m_value.string)}</DisplayString>
162+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::boolean">{m_value.boolean}</DisplayString>
163+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
164+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
165+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::number_float">{m_value.number_float}</DisplayString>
166+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::discarded">discarded</DisplayString>
167+
<Expand>
168+
<ExpandedItem Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::object">
169+
*(m_value.object),view(simple)
170+
</ExpandedItem>
171+
<ExpandedItem Condition="m_type == nlohmann::json_abi_ldvcmp::detail::value_t::array">
172+
*(m_value.array),view(simple)
173+
</ExpandedItem>
174+
</Expand>
175+
</Type>
176+
177+
<!-- Skip the pair first/second members in the treeview while traversing a map.
178+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
179+
<Type Name="std::pair&lt;*, nlohmann::json_abi_ldvcmp::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
180+
<DisplayString>{second}</DisplayString>
181+
<Expand>
182+
<ExpandedItem>second</ExpandedItem>
183+
</Expand>
184+
</Type>
185+
186+
<!-- Namespace nlohmann::json_abi_ldvcmp_v3_11_2 -->
187+
<Type Name="nlohmann::json_abi_ldvcmp_v3_11_2::basic_json&lt;*&gt;">
188+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::null">null</DisplayString>
189+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::object">{*(m_value.object)}</DisplayString>
190+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::array">{*(m_value.array)}</DisplayString>
191+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::string">{*(m_value.string)}</DisplayString>
192+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::boolean">{m_value.boolean}</DisplayString>
193+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
194+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
195+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::number_float">{m_value.number_float}</DisplayString>
196+
<DisplayString Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::discarded">discarded</DisplayString>
197+
<Expand>
198+
<ExpandedItem Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::object">
199+
*(m_value.object),view(simple)
200+
</ExpandedItem>
201+
<ExpandedItem Condition="m_type == nlohmann::json_abi_ldvcmp_v3_11_2::detail::value_t::array">
202+
*(m_value.array),view(simple)
203+
</ExpandedItem>
204+
</Expand>
205+
</Type>
206+
207+
<!-- Skip the pair first/second members in the treeview while traversing a map.
208+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
209+
<Type Name="std::pair&lt;*, nlohmann::json_abi_ldvcmp_v3_11_2::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
210+
<DisplayString>{second}</DisplayString>
211+
<Expand>
212+
<ExpandedItem>second</ExpandedItem>
213+
</Expand>
214+
</Type>
215+
216+
<!-- Namespace nlohmann::json_abi_diag_ldvcmp -->
217+
<Type Name="nlohmann::json_abi_diag_ldvcmp::basic_json&lt;*&gt;">
218+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::null">null</DisplayString>
219+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::object">{*(m_value.object)}</DisplayString>
220+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::array">{*(m_value.array)}</DisplayString>
221+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::string">{*(m_value.string)}</DisplayString>
222+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::boolean">{m_value.boolean}</DisplayString>
223+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
224+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
225+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::number_float">{m_value.number_float}</DisplayString>
226+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::discarded">discarded</DisplayString>
227+
<Expand>
228+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::object">
229+
*(m_value.object),view(simple)
230+
</ExpandedItem>
231+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag_ldvcmp::detail::value_t::array">
232+
*(m_value.array),view(simple)
233+
</ExpandedItem>
234+
</Expand>
235+
</Type>
236+
237+
<!-- Skip the pair first/second members in the treeview while traversing a map.
238+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
239+
<Type Name="std::pair&lt;*, nlohmann::json_abi_diag_ldvcmp::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
240+
<DisplayString>{second}</DisplayString>
241+
<Expand>
242+
<ExpandedItem>second</ExpandedItem>
243+
</Expand>
244+
</Type>
245+
246+
<!-- Namespace nlohmann::json_abi_diag_ldvcmp_v3_11_2 -->
247+
<Type Name="nlohmann::json_abi_diag_ldvcmp_v3_11_2::basic_json&lt;*&gt;">
248+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::null">null</DisplayString>
249+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::object">{*(m_value.object)}</DisplayString>
250+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::array">{*(m_value.array)}</DisplayString>
251+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::string">{*(m_value.string)}</DisplayString>
252+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::boolean">{m_value.boolean}</DisplayString>
253+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::number_integer">{m_value.number_integer}</DisplayString>
254+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::number_unsigned">{m_value.number_unsigned}</DisplayString>
255+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::number_float">{m_value.number_float}</DisplayString>
256+
<DisplayString Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::discarded">discarded</DisplayString>
257+
<Expand>
258+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::object">
259+
*(m_value.object),view(simple)
260+
</ExpandedItem>
261+
<ExpandedItem Condition="m_type == nlohmann::json_abi_diag_ldvcmp_v3_11_2::detail::value_t::array">
262+
*(m_value.array),view(simple)
263+
</ExpandedItem>
264+
</Expand>
265+
</Type>
266+
267+
<!-- Skip the pair first/second members in the treeview while traversing a map.
268+
Only works in VS 2015 Update 2 and beyond using the new visualization -->
269+
<Type Name="std::pair&lt;*, nlohmann::json_abi_diag_ldvcmp_v3_11_2::basic_json&lt;*&gt;&gt;" IncludeView="MapHelper">
270+
<DisplayString>{second}</DisplayString>
271+
<Expand>
272+
<ExpandedItem>second</ExpandedItem>
273+
</Expand>
274+
</Type>
275+
32276
</AutoVisualizer>

0 commit comments

Comments
 (0)