CPON 1.4.2

dotnet add package CPON --version 1.4.2
                    
NuGet\Install-Package CPON -Version 1.4.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="CPON" Version="1.4.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CPON" Version="1.4.2" />
                    
Directory.Packages.props
<PackageReference Include="CPON" />
                    
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 CPON --version 1.4.2
                    
#r "nuget: CPON, 1.4.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 CPON@1.4.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=CPON&version=1.4.2
                    
Install as a Cake Addin
#tool nuget:?package=CPON&version=1.4.2
                    
Install as a Cake Tool

CPON (C++ Object Notation)

CPON はTOON(Token-Oriented Object Notation)とTONL(Token-Optimized Notation Language)を参考にして作成した、<br>C++専用のデータプラットフォームです。<br> 本ライブラリはMSVCC++20の環境向けに開発しました。

📚 ドキュメント

🎉 最新リリース

  • スタティックライブラリ(.lib)に変更
  • 2つのビルドツールに対応(v143,v145)
  • x64,Win32(x86)両方に対応
  • MT,MTd,MD,MDd全てに対応

📊 CPONのフォーマット

ファイルヘッダー

#ObjNum : "ObjectNum"

オブジェクトヘッダ

ObjectName[N]{Id:int,Name:string,Roles:array<string>,Contact:object}:

全体構造

#ObjNum : 2
Users[2]{Id:int,Name:string,Roles:array<string>,Contact:object}:
  Id:1
  Name:Alice
  Roles:[2]editor, user
  Contact[1]{Email:string,Phone:string}:
    Email:alice@example.com
    Phone:+123456789

  Id:2
  Name:Bob
  Roles:[3]admin, editor, user
  Contact[1]{Email:string,Phone:string}:
    Email:bob@example.com
    Phone:+123456789

RoleList[3]{Name:string,Level:int}:
  Name:admin
  Level:3

  Name:editor
  Level:2

  Name:user
  Level:1

動作環境

  • C++標準:C++20
  • コンパイラ:MSVC (Visual Studio 2022以降推奨)
  • OS:Windows 10以降

📄 ライセンス

MITライセンス - 詳細はLICENSEファイルを確認してください。


<div align="center">

CPON: C++で読み取りやすいデータプラットフォームを作りたかっただけなんだな。

結構自己満足みたいなところはある( ˙-˙ )

</div>

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

    • 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.4.2 110 5/17/2026
1.4.1 110 5/17/2026
1.3.1 151 4/24/2026
1.3.0 138 4/24/2026
1.2.2 161 4/15/2026
1.2.1 202 3/4/2026
1.2.0 168 3/4/2026
1.1.0 186 3/4/2026
1.0.0 189 3/3/2026