PeterO.Cbor
2.4.2
Advisory: https://github.com/advisories/GHSA-cxw4-9qv9-vx5h | Severity: high |
Use PeterO.Cbor version 4.1.0 (or the latest available version) rather than this legacy version.
See the version list below for details.
dotnet add package PeterO.Cbor --version 2.4.2
NuGet\Install-Package PeterO.Cbor -Version 2.4.2
<PackageReference Include="PeterO.Cbor" Version="2.4.2" />
paket add PeterO.Cbor --version 2.4.2
#r "nuget: PeterO.Cbor, 2.4.2"
// Install PeterO.Cbor as a Cake Addin
#addin nuget:?package=PeterO.Cbor&version=2.4.2
// Install PeterO.Cbor as a Cake Tool
#tool nuget:?package=PeterO.Cbor&version=2.4.2
A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.
This implementation also doubles as a reader and writer of JSON, and can convert data from JSON to CBOR and back.
Learn more about Target Frameworks and .NET Standard.
-
- PeterO.Numbers (>= 0.2.2)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on PeterO.Cbor:
Package | Downloads |
---|---|
AWSSDK.DAX.Client
AWS DynamoDB Accelerator (DAX) .NET Client -- DAX is a fully managed, in-memory cache for DynamoDB. |
|
PubnubPCL
PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously |
|
Pubnub
PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously |
|
Com.AugustCellars.COSE
An implementation of the CBOR Object Signing and Encryption standards. |
|
DSInternals.Common
This package is shared between all other DSInternals packages. Its main features are Azure AD Graph API and ADSI clients for for retrieval of cryptographic material. It contains implementations of common hash functions used by Windows, including NT hash, LM hash and OrgId hash. It also contains methods for SysKey/BootKey retrieval. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on PeterO.Cbor:
Repository | Stars |
---|---|
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
|
|
lithnet/ad-password-protection
Active Directory password filter featuring breached password checking and custom complexity rules
|
|
richardschneider/net-ipfs-engine
IPFS Core API implementation in .Net
|
|
pubnub/c-sharp
PubNub clients for C-Sharp based languages, including MS Windows C#/.net, Silveright, IIS, and Mono
|
Version | Downloads | Last updated | |
---|---|---|---|
5.0.0-alpha1 | 19,193 | 12/14/2023 | |
4.5.3 | 166,604 | 12/13/2023 | |
4.5.2 | 761,237 | 1/18/2022 | |
4.5.1 | 27,573 | 1/17/2022 | |
4.5.0 | 7,551 | 12/9/2021 | |
4.4.4 | 85,967 | 7/1/2021 | |
4.4.2 | 17,048 | 5/13/2021 | |
4.4.1 | 4,736 | 4/27/2021 | |
4.4.0 | 10,764 | 4/19/2021 | |
4.3.0 | 61,228 | 12/7/2020 | |
4.2.0 | 77,139 | 7/18/2020 | |
4.1.3 | 376,240 | 5/27/2020 | |
4.1.2 | 17,605 | 4/25/2020 | |
4.1.1 | 2,315 | 4/15/2020 | |
4.1.0 | 108,465 | 12/15/2019 | |
4.0.0 | 72,817 | 9/3/2019 | |
3.5.2 | 20,931 | 7/4/2019 | |
3.5.1 | 2,872 | 7/1/2019 | |
3.5.0 | 9,123 | 6/2/2019 | |
3.4.0-beta1 | 1,641 | 10/1/2018 | |
3.3.0 | 12,958 | 9/3/2018 | |
3.2.0 | 2,115 | 7/30/2018 |
In version 2.4.2:
* Really use 0.2.2 of
[`PeterO.Numbers`](PeterO.Numbers)
as dependency in NuGet package
In version 2.4.1:
* C# implementation now uses version 0.2.2 of
[`PeterO.Numbers`](PeterO.Numbers)
In version 2.4:
* The arbitrary-precision classes in this library are being replaced
with a new library (called PeterO.Numbers (PeterO.Numbers) in C#). As a result, most
of the methods in the existing classes are obsolete. This affects the
classes `BigInteger`, `ExtendedDecimal`, `ExtendedFloat`, `ExtendedRational`,
`Rounding`, `PrecisionContext`, and `TrapException`. Changes were made
to those classes to call the new classes, and the behavior is mostly
compatible with the previous behavior (with the notable exception
of a new dependency in the CBOR library).
* After version 2.3.1, the classes in the new library were greatly changed
from what they were in version 2.3.1. Version 2.4.0 currently uses
version 0.2 of the new library, but this may change in future versions. See the
new library's release notes (https://github.com/peteroupc/Numbers),
and this repository's commit history (from "version 2.3.1"
to "move big number library...") for details.
* The FromObject method of the CBORObject class can now convert
arbitrary-precision number objects from the new library
appropriately, such as `EInteger` and `EDecimal`. However, there are
no methods that directly take or return one of those classes, for
compatibility with version 2.0.
* Added Zero field and IsNegative property to the CBORObject class
* Added overloads to ReadJSON and FromJSONString in CBORObject class
* Added parameter in the ParseJSONNumber method of CBORDataUtilities
to preserve negative zeros
* Added CBOR decoding option to disable duplicate keys
* Fixed JSON parsing bugs
See the project page for release notes on previous versions: https://github.com/peteroupc/CBOR