JSONTreeView 1.1.0
dotnet add package JSONTreeView --version 1.1.0
NuGet\Install-Package JSONTreeView -Version 1.1.0
<PackageReference Include="JSONTreeView" Version="1.1.0" />
paket add JSONTreeView --version 1.1.0
#r "nuget: JSONTreeView, 1.1.0"
// Install JSONTreeView as a Cake Addin
#addin nuget:?package=JSONTreeView&version=1.1.0
// Install JSONTreeView as a Cake Tool
#tool nuget:?package=JSONTreeView&version=1.1.0
WPF TreeView for JSON Loading/showing
Create a WPF TreeView
from valid JSON in a text string.
WPF Example
MyTreeView.ProcessJson(text);
where text
is any valid Json in string format. Same as the Linqpad example below.
Linqpad Example
PanelManager.StackWpfElement(((new TreeView()).ProcessJson(text)), "JSON");
Pretty Print JSON
Extension for JsonDocument
to output prettified readable json text. Example:
var jsonPretty = myDoc.ToFormattedJsonString();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
V1.0 - `ProcessJson(..text...)` creates tree in WPF TreeView
- TreeView's `Tag' Property contains the `JsonDocument` instance used to create the tree.
- Extension for JsonDocument of `ToFormattedJsonString` produces pretty print json version.
V1.1 - Proper handling of individual strings/numbers/null/undefined for arrays.