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" />
<PackageReference Include="CPON" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=CPON&version=1.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CPON (C++ Object Notation)
CPON はTOON(Token-Oriented Object Notation)とTONL(Token-Optimized Notation Language)を参考にして作成した、<br>C++専用のデータプラットフォームです。<br> 本ライブラリはMSVCとC++20の環境向けに開発しました。
📚 ドキュメント
- 使い方・仕様は GitHub Wiki を参照してください: https://github.com/ryuu3160/CPON/wiki
🎉 最新リリース
- スタティックライブラリ(.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 | Versions 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.