SiddiqSoft.sip2json
2.5.2
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
<PackageReference Include="SiddiqSoft.sip2json" Version="2.5.2" />
<PackageVersion Include="SiddiqSoft.sip2json" Version="2.5.2" />
<PackageReference Include="SiddiqSoft.sip2json" />
paket add SiddiqSoft.sip2json --version 2.5.2
#r "nuget: SiddiqSoft.sip2json, 2.5.2"
#:package SiddiqSoft.sip2json@2.5.2
#addin nuget:?package=SiddiqSoft.sip2json&version=2.5.2
#tool nuget:?package=SiddiqSoft.sip2json&version=2.5.2
sip2json: A Focused SIP Parser for Modern C++
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 Start & Integration
- Asynchronous Stream Parsing
- Performance & Benchmarks
- JSON Schema Metaphor
- API Reference
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
-
- nlohmann.json (>= 3.12.0)
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 |
## 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