|
30 | 30 | </Expand>
|
31 | 31 | </Type>
|
32 | 32 |
|
| 33 | + <Type Name="std::pair<*, crude_json::value>" IncludeView="MapHelper" Priority="High"> |
| 34 | + <DisplayString>{second}</DisplayString> |
| 35 | + <Expand HideRawView="true"> |
| 36 | + <ExpandedItem>second</ExpandedItem> |
| 37 | + </Expand> |
| 38 | + </Type> |
| 39 | + |
| 40 | + <Type Name="crude_json::value"> |
| 41 | + <Intrinsic Name="object_ptr" Expression="(crude_json::object*)&m_Storage" /> |
| 42 | + <Intrinsic Name="array_ptr" Expression="(crude_json::array*)&m_Storage" /> |
| 43 | + <Intrinsic Name="string_ptr" Expression="(crude_json::string*)&m_Storage" /> |
| 44 | + <Intrinsic Name="boolean_ptr" Expression="(crude_json::boolean*)&m_Storage" /> |
| 45 | + <Intrinsic Name="number_ptr" Expression="(crude_json::number*)&m_Storage" /> |
| 46 | + |
| 47 | + <DisplayString Condition="m_Type == crude_json::type_t::null">null</DisplayString> |
| 48 | + <DisplayString Condition="m_Type == crude_json::type_t::object">{*object_ptr()} : object</DisplayString> |
| 49 | + <DisplayString Condition="m_Type == crude_json::type_t::array">{*array_ptr()} : array</DisplayString> |
| 50 | + <DisplayString Condition="m_Type == crude_json::type_t::string">{*string_ptr()} : string</DisplayString> |
| 51 | + <DisplayString Condition="m_Type == crude_json::type_t::boolean">{*boolean_ptr()} : boolean</DisplayString> |
| 52 | + <DisplayString Condition="m_Type == crude_json::type_t::number">{*number_ptr(),g} : number</DisplayString> |
| 53 | + <DisplayString Condition="m_Type == crude_json::type_t::discarded">discarded</DisplayString> |
| 54 | + <Expand HideRawView="true"> |
| 55 | + <!--<Synthetic Name="[type]"><DisplayString>{m_Type,en}</DisplayString></Synthetic>--> |
| 56 | + <ExpandedItem Condition="m_Type == crude_json::type_t::object">*object_ptr(),view(simple)</ExpandedItem> |
| 57 | + <ExpandedItem Condition="m_Type == crude_json::type_t::array">*array_ptr(),view(simple)</ExpandedItem> |
| 58 | + <Item Name="[value]" Condition="m_Type == crude_json::type_t::string">*string_ptr(),view(simple)</Item> |
| 59 | + <Item Name="[value]" Condition="m_Type == crude_json::type_t::boolean">*boolean_ptr()</Item> |
| 60 | + <Item Name="[value]" Condition="m_Type == crude_json::type_t::number">*number_ptr()</Item> |
| 61 | + </Expand> |
| 62 | + </Type> |
| 63 | + |
33 | 64 | </AutoVisualizer>
|
0 commit comments