SiddiqSoft.sip2json 2.5.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package SiddiqSoft.sip2json --version 2.5.2
                    
NuGet\Install-Package SiddiqSoft.sip2json -Version 2.5.2
                    
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="SiddiqSoft.sip2json" Version="2.5.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SiddiqSoft.sip2json" Version="2.5.2" />
                    
Directory.Packages.props
<PackageReference Include="SiddiqSoft.sip2json" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SiddiqSoft.sip2json --version 2.5.2
                    
#r "nuget: SiddiqSoft.sip2json, 2.5.2"
                    
#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.
#:package SiddiqSoft.sip2json@2.5.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SiddiqSoft.sip2json&version=2.5.2
                    
Install as a Cake Addin
#tool nuget:?package=SiddiqSoft.sip2json&version=2.5.2
                    
Install as a Cake Tool

sip2json: A Focused SIP Parser for Modern C++

Build Status NuGet Version NuGet Downloads Tests

sip2json is a header-only Modern C++23 SIP protocol parser and serializer library designed with nlohmann::json as a first-class API metaphor for seamlessly converting SIP protocol messages to/from JSON for NoSQL databases and distributed event processing.


Documentation Site

The complete documentation, API reference, architecture guides, performance benchmarks, and interactive dependency charts are hosted on our documentation site:

👉 siddiqsoft.github.io/sip2json


Quick Example

#include "siddiqsoft/sip2json.hpp"

using namespace siddiqsoft;

void onNetworkDataReceived(std::string& tcpReadBuffer)
{
    auto cursor = tcpReadBuffer.begin();

    // Asynchronously parse multiple SIP frames from buffer iterator
    sip2json::parseAsync(
        cursor,
        tcpReadBuffer.end(),
        [](sipmessage&& msg) {
            if (!msg.empty()) {
                std::cout << "Parsed " << msg.type << " (" << msg.method << ") Call-ID: " << msg.callid << "\n";
            }
        },
        [](sip2jsonErrors& errCode, const std::string& errMessage) {
            std::cerr << "Parser warning: " << errMessage << "\n";
        }
    );

    // Erase processed frames from front of buffer; partial frames stay for next read
    tcpReadBuffer.erase(tcpReadBuffer.begin(), cursor);
}

Quick Integration

Using CPM

CPMAddPackage("gh:SiddiqSoft/sip2json#v0.0.0.0")
target_link_libraries(${PROJECT_NAME} INTERFACE sip2json::sip2json)

For full setup guides, submodules, and NuGet usage, visit the Integration Guide.


License

Licensed under the BSD 3-Clause License.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on SiddiqSoft.sip2json:

Repository Stars
ubisoft/Sharpmake
Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Version Downloads Last Updated
3.2.0 99 9/14/2026
3.1.5 108 9/9/2026
3.1.4 129 9/6/2026
3.1.3 124 9/6/2026
3.1.2 117 9/5/2026
3.1.1 120 9/5/2026
3.1.0 114 9/4/2026
3.0.1 112 9/4/2026
2.5.8 145 8/21/2026
2.5.7 136 8/21/2026
2.5.6 134 8/21/2026
2.5.5 139 8/19/2026
2.5.4 138 8/19/2026
2.5.3 137 8/19/2026
2.5.2 139 8/19/2026
2.5.1 145 8/19/2026
2.4.2 269 6/19/2026
2.4.1 252 5/23/2026
2.4.0 278 5/5/2026
2.3.3 277 5/4/2026
Loading failed

## v2.4 Release - Performance and Documentation Enhancements

### New Features
- **Constexpr Optimization**: Compile-time string constants for improved performance
- **Comprehensive Benchmarks**: 30+ benchmark tests including stress tests for large packets
- **HTML Benchmark Reports**: Professional performance analysis reports
- **Enhanced Documentation**: Complete API reference, architecture guide, and migration guide

### Improvements
- Optimized parsing with constexpr patterns
- High-frequency decode benchmarks for large packets
- Stress tests (100, 1000+ packet scenarios)
- Professional HTML and JSON benchmark reporting
- Streamlined documentation for better navigation

### Documentation
- **API Reference**: docs/API.md - Complete method documentation with examples
- **Architecture Guide**: docs/ARCHITECTURE.md - Design patterns and optimization
- **Documentation Index**: docs/INDEX.md - Quick navigation hub

For detailed release notes, visit: https://github.com/siddiqsoftware/sip2json/releases