WpfJson 1.0.0

dotnet add package WpfJson --version 1.0.0
NuGet\Install-Package WpfJson -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WpfJson" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WpfJson --version 1.0.0
#r "nuget: WpfJson, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WpfJson as a Cake Addin
#addin nuget:?package=WpfJson&version=1.0.0

// Install WpfJson as a Cake Tool
#tool nuget:?package=WpfJson&version=1.0.0

WpfJson

WPF JSON Viewer also for LabVIEW use

This library is written in .Net Framework 4.8.

Also a LabVIEW version provided in this package

The source code of WindowsFormsApp.exe is provided, which demonstrates how to build a WpfJson viewer.

Also, the source code of LabVIEW VI is provided in sub folder ‘sourcecode’.

There is an application WpfJsonViewerApp.exe which calls the COM component WpfJsonViewer.dll with fixed GUID:

[Guid("520891FD-16C1-4110-A299-84C6875E83CD")]

The whole infrastructure is demonstrated in the Word document: WpfJson.docx.

There is a surprise that this application takes advantage of the newly published NuGET package: CsvMultilang, so once you choose any language in upper right corner, the whole UI will be reflected to show the corresponding language. So far, only en-us and zh-cn 2 languages are provided in the 2 CSV files under sub folder ‘languages’.

I think the JSON Viewer looks very beautiful and the colors match the data type of LabVIEW in most aspects.

One more thing, if you want to make it work, the prerequisite is to call regasm.exe to register both COM components. Fortunately, I developed install.ps1 in sub folder ‘install’, you call run it in PowerShell, also I wrote install.bat to execute install.ps1, so you can run it instead.

Author

Patrick Gamp

Published date

November 9, 2023

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • 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.

Version Downloads Last updated
1.0.0 241 11/9/2023

Initial commit.