Hey all,
I’m using the nodes from System.Text.Json a lot these days to avoid having this XML layer in between when parsing JSON documents. Soon as you have a JsonElement (which you encounter a lot when using these nodes), the tooltip does not wrap, often going beyond screen limits :
Would it be possible to have this one wrap so that the tooltip does not unreasonably expands as it currently does?
You can copy the following XML in a patch window and hover the output of the RootElement output of the RootElement node :
Snippet
<?xml version="1.0" encoding="utf-16"?>
<Patch xmlns:p="property" xmlns:r="reflection" Id="POmTUQ2uB00LLctaAHybh7" MergeId="26408">
<Canvas Id="Ti8aXLlRJ93NG3vyAWRFBi" MergeId="26407" CanvasType="Group">
<Node Bounds="598,419,41,19" Id="KtsYcYpQKhKMmYxl1uucXR">
<p:NodeReference LastCategoryFullName="System.Text.Json.JsonDocument" LastDependency="System.Text.Json.dll" OverloadStrategy="UserSelectedPins">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="AssemblyCategory" Name="JsonDocument" />
<Choice Kind="OperationCallFlag" Name="Parse" />
<PinReference Kind="InputPin" Name="Json">
<p:DataTypeReference p:Type="TypeReference" LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="String" />
<FullNameCategoryReference ID="System" />
<AssemblyReference ID="System.Runtime.dll" />
</p:DataTypeReference>
</PinReference>
</p:NodeReference>
<Pin Id="OABPlWg1CxLPAHRAE3DYuU" Name="Json" Kind="InputPin" />
<Pin Id="Dh1R0jHIDgpNnrkfHBRmKR" Name="Options" Kind="InputPin" />
<Pin Id="BN2DUmTlMaLMcbfIcUzpjg" Name="Result" Kind="OutputPin" />
</Node>
<Pad Id="GMnJftxa0fOQSdcOfye2JU" Bounds="600,221,147,95" ShowValueBox="true" isIOBox="true" Value="[
 {
 "productId": 1001,
 "productName": "Wireless Headphones",
 "description": "Noise-cancelling wireless headphones with Bluetooth 5.0 and 20-hour battery life.",
 "brand": "SoundPro",
 "category": "Electronics",
 "price": 199.99,
 "currency": "USD",
 "stock": {
 "available": true,
 "quantity": 50
 },
 "images": [
 "https://example.com/products/1001/main.jpg",
 "https://example.com/products/1001/side.jpg"
 ],
 "variants": [
 {
 "variantId": "1001_01",
 "color": "Black",
 "price": 199.99,
 "stockQuantity": 20
 },
 {
 "variantId": "1001_02",
 "color": "White",
 "price": 199.99,
 "stockQuantity": 30
 }
 ],
 "dimensions": {
 "weight": "0.5kg",
 "width": "18cm",
 "height": "20cm",
 "depth": "8cm"
 },
 "ratings": {
 "averageRating": 4.7,
 "numberOfReviews": 120
 },
 "reviews": [
 {
 "reviewId": 501,
 "userId": 101,
 "username": "techguy123",
 "rating": 5,
 "comment": "Amazing sound quality and battery life!"
 },
 {
 "reviewId": 502,
 "userId": 102,
 "username": "jane_doe",
 "rating": 4,
 "comment": "Great headphones but a bit pricey."
 }
 ]
 },
 {
 "productId": 1002,
 "productName": "Smartphone Case",
 "description": "Durable and shockproof case for smartphones, available in multiple colors.",
 "brand": "CaseMate",
 "category": "Accessories",
 "price": 29.99,
 "currency": "USD",
 "stock": {
 "available": true,
 "quantity": 200
 },
 "images": [
 "https://example.com/products/1002/main.jpg",
 "https://example.com/products/1002/back.jpg"
 ],
 "variants": [
 {
 "variantId": "1002_01",
 "color": "Black",
 "price": 29.99,
 "stockQuantity": 100
 },
 {
 "variantId": "1002_02",
 "color": "Blue",
 "price": 29.99,
 "stockQuantity": 100
 }
 ],
 "dimensions": {
 "weight": "0.2kg",
 "width": "8cm",
 "height": "15cm",
 "depth": "1cm"
 },
 "ratings": {
 "averageRating": 4.4,
 "numberOfReviews": 80
 },
 "reviews": [
 {
 "reviewId": 601,
 "userId": 103,
 "username": "caseuser456",
 "rating": 4,
 "comment": "Very sturdy and fits perfectly."
 },
 {
 "reviewId": 602,
 "userId": 104,
 "username": "mobile_fan",
 "rating": 5,
 "comment": "Best case I've bought for my phone!"
 }
 ]
 },
 {
 "productId": 1003,
 "productName": "4K Ultra HD Smart TV",
 "description": "55-inch 4K Ultra HD Smart TV with built-in Wi-Fi and streaming apps.",
 "brand": "Visionary",
 "category": "Electronics",
 "price": 799.99,
 "currency": "USD",
 "stock": {
 "available": true,
 "quantity": 30
 },
 "images": [
 "https://example.com/products/1003/main.jpg",
 "https://example.com/products/1003/side.jpg"
 ],
 "variants": [
 {
 "variantId": "1003_01",
 "screenSize": "55 inch",
 "price": 799.99,
 "stockQuantity": 30
 }
 ],
 "dimensions": {
 "weight": "15kg",
 "width": "123cm",
 "height": "80cm",
 "depth": "10cm"
 },
 "ratings": {
 "averageRating": 4.8,
 "numberOfReviews": 250
 },
 "reviews": [
 {
 "reviewId": 701,
 "userId": 105,
 "username": "techlover123",
 "rating": 5,
 "comment": "Incredible picture quality, streaming works seamlessly."
 },
 {
 "reviewId": 702,
 "userId": 106,
 "username": "homecinema",
 "rating": 4,
 "comment": "Great TV, but a little bulky."
 }
 ]
 },
 {
 "productId": 1004,
 "productName": "Bluetooth Speaker",
 "description": "Portable Bluetooth speaker with 12-hour battery life and water resistance.",
 "brand": "AudioX",
 "category": "Electronics",
 "price": 59.99,
 "currency": "USD",
 "stock": {
 "available": true,
 "quantity": 100
 },
 "images": [
 "https://example.com/products/1004/main.jpg",
 "https://example.com/products/1004/side.jpg"
 ],
 "variants": [
 {
 "variantId": "1004_01",
 "color": "Red",
 "price": 59.99,
 "stockQuantity": 50
 },
 {
 "variantId": "1004_02",
 "color": "Blue",
 "price": 59.99,
 "stockQuantity": 50
 }
 ],
 "dimensions": {
 "weight": "0.3kg",
 "width": "15cm",
 "height": "8cm",
 "depth": "5cm"
 },
 "ratings": {
 "averageRating": 4.6,
 "numberOfReviews": 150
 },
 "reviews": [
 {
 "reviewId": 801,
 "userId": 107,
 "username": "musicfan23",
 "rating": 5,
 "comment": "Excellent sound quality for its size!"
 },
 {
 "reviewId": 802,
 "userId": 108,
 "username": "outdoor_lover",
 "rating": 4,
 "comment": "Great for outdoor use, but the battery could last longer."
 }
 ]
 },
 {
 "productId": 1005,
 "productName": "Winter Jacket",
 "description": "Men's water-resistant winter jacket with a fur-lined hood.",
 "brand": "ColdTech",
 "category": "Clothing",
 "price": 129.99,
 "currency": "USD",
 "stock": {
 "available": true,
 "quantity": 80
 },
 "images": [
 "https://example.com/products/1005/main.jpg",
 "https://example.com/products/1005/back.jpg"
 ],
 "variants": [
 {
 "variantId": "1005_01",
 "size": "M",
 "color": "Black",
 "price": 129.99,
 "stockQuantity": 30
 },
 {
 "variantId": "1005_02",
 "size": "L",
 "color": "Gray",
 "price": 129.99,
 "stockQuantity": 50
 }
 ],
 "dimensions": {
 "weight": "1.5kg",
 "width": "60cm",
 "height": "85cm",
 "depth": "5cm"
 },
 "ratings": {
 "averageRating": 4.5,
 "numberOfReviews": 60
 },
 "reviews": [
 {
 "reviewId": 901,
 "userId": 109,
 "username": "outdoor_adventurer",
 "rating": 5,
 "comment": "Perfect for cold weather, very comfortable!"
 },
 {
 "reviewId": 902,
 "userId": 110,
 "username": "winter_gear",
 "rating": 4,
 "comment": "Nice jacket, but could be a little warmer."
 }
 ]
 }
]">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="ImmutableTypeFlag" Name="String" />
</p:TypeAnnotation>
</Pad>
<Node Bounds="598,460,74,26" Id="NSA9c3Myy4gNRSefrRDynU">
<p:NodeReference LastCategoryFullName="System.Text.Json.JsonDocument" LastDependency="System.Text.Json.dll">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="AssemblyCategory" Name="JsonDocument" />
<Choice Kind="OperationCallFlag" Name="RootElement" />
</p:NodeReference>
<Pin Id="VJW51qPPjXxMvapaLF4om1" Name="Input" Kind="StateInputPin" />
<Pin Id="LKQTIToDATqMawj2qP7J8q" Name="Output" Kind="StateOutputPin" />
<Pin Id="EdhdaEYhhcGN56I6qL93V8" Name="Root Element" Kind="OutputPin" />
</Node>
<Node Bounds="598,370,51,26" Id="MUN9nbkBW1CPJ83hPrDUnK">
<p:NodeReference LastCategoryFullName="Primitive.String" LastDependency="VL.CoreLib.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="StringType" Name="String" NeedsToBeDirectParent="true" />
<Choice Kind="OperationCallFlag" Name="Replace" />
</p:NodeReference>
<Pin Id="Ah8lrBTiY4VPxEQ9L2C1OY" Name="Input" Kind="StateInputPin" />
<Pin Id="NtVP1MZohNIOGp6HGi6hta" Name="Old Value" Kind="InputPin" />
<Pin Id="HIk5pkcwe3BPo0WRRugQjm" Name="New Value" Kind="InputPin" />
<Pin Id="PQBWRD9wKpDNDrtZbsGdbi" Name="Output" Kind="StateOutputPin" />
</Node>
<Node Bounds="621,339,54,19" Id="LoL3xEsg4BpNexb8B95QaR">
<p:NodeReference LastCategoryFullName="Primitive.String" LastDependency="VL.CoreLib.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="StringType" Name="String" NeedsToBeDirectParent="true" />
<Choice Kind="OperationCallFlag" Name="NewLine" />
</p:NodeReference>
<Pin Id="Q7UAukleS0NNFQ3ALc19wF" Name="New Line" Kind="OutputPin" />
</Node>
</Canvas>
<Link Id="Tc7VUdXjgCaQOLGjgHegf7" Ids="BN2DUmTlMaLMcbfIcUzpjg,VJW51qPPjXxMvapaLF4om1" />
<Link Id="GbP5FVUbbR2NOLxRy3xuGL" Ids="GMnJftxa0fOQSdcOfye2JU,Ah8lrBTiY4VPxEQ9L2C1OY" />
<Link Id="Kl0BZoN84XoOow8sByFAwS" Ids="Q7UAukleS0NNFQ3ALc19wF,NtVP1MZohNIOGp6HGi6hta" />
<Link Id="MkV97vQ39wFPiR5Dt97xoz" Ids="PQBWRD9wKpDNDrtZbsGdbi,OABPlWg1CxLPAHRAE3DYuU" />
<NugetDependency Id="S2bdQkstXKpMx2eIix2VN7" Location="VL.CoreLib" Version="2025.7.1-0106-gc0edd1f65b" />
<PlatformDependency Id="MsobCaB8YtXMATkxFnTsjH" Location="System.Text.Json" />
</Patch>
Thanks!
