Knapcode.TNetstringsToJson 0.4.0

Prefix Reserved
dotnet tool install --global Knapcode.TNetstringsToJson --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Knapcode.TNetstringsToJson --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Knapcode.TNetstringsToJson&version=0.4.0
                    
nuke :add-package Knapcode.TNetstringsToJson --version 0.4.0
                    

Knapcode.TNetstringsToJson

This is a CLI tool that takes an input tnetstrings file and outputs JSON.

This is a .NET tool, meaning it can be executed using dnx (provided by the .NET 10 SDK) or by installing the tool using dotnet install.

Using dnx:

dnx Knapcode.TNetstringsToJson <path to tnetstrings file>

You can use this tool to read mitmproxy flow files into a JSON format.

Sample

# output ASCII to a file -- make sure to check line endings or encoding if using PowerShell
# the file should not have a UTF-8 BOM or a trailing newline character
echo "30:1:a,1:1#2:bb,2:22#3:ccc,3:333#}" > out.netstrings.bin
dnx Knapcode.TNetstringsToJson out.netstrings.bin

This will show:

[
{"a":1,"bb":22,"ccc":333}
]
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.4.0 48 9/11/2026
0.3.0 131 7/12/2026
0.1.0 234 10/14/2025