PeterO.Cbor 4.1.1
A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049.
### Version 4.1.1
- Fix issue where some non-basic characters in JSON strings encoded in UTF-8 were read incorrectly by the CBORObject.FromJSONBytes method
### Version 4.1
- Added the following to the CBORObject class: Entries property; ToJSONBytes, CalcEncodedSize, WithTag, and FromJSONBytes methods.
- Added overload to From JSONString, allowing only a portion of a string to be used
- Added support for reading JSON text sequences (FromJSONSequenceBytes, ReadJSONSequence).
- F# types are supported better by CBORObject.FromObject
- JSON writer now checks circular references.
- Improved performance when reading JSON numbers, thanks in part to an upgrade of the Numbers library used by the CBOR library.
- Added number conversion options and PreserveNegativeZero property to JSONOptions.
- Added ParseJSONDouble method, other methods, and additional ParseJSONNumber overloads to CBORDataUtilities
- Deprecated some existing overloads of ParseJSONNumber
- Deprecated many CBORObject properties and methods, including the following: CanFitInInt32, CanFitInInt64, IsInfinity, IsNaN, AsDecimal, AsEInteger, AsEFloat, AsERational, AsUInt16, AsUInt32, AsUInt64, AsSByte, AsByte, Abs, Negate, Sign, IsPositiveInfinity, IsNegativeInfinity, FromJSONString(string, CBOREncodeOptions)
- Added several methods and properties to CBORNumber (including certain methods deprecated in CBORObject), and exposed the kind of number stored in the class.
- JSONOptions string constructor now sets ReplaceSurrogates to false by default (previously, it was inadvertently true).
- Bug fixes
Any 0.0
- PeterO.URIUtility (>= 1.0.0)
- PeterO.Numbers (>= 1.5.1)
| Version | Downloads | Last updated |
|---|---|---|
| 5.0.0-alpha2 | 5 | 06/28/2025 |
| 5.0.0-alpha1 | 4 | 06/28/2025 |
| 4.5.5 | 4 | 06/28/2025 |
| 4.5.3 | 6 | 06/28/2025 |
| 4.5.2 | 4 | 06/28/2025 |
| 4.5.1 | 4 | 06/28/2025 |
| 4.5.0 | 4 | 06/28/2025 |
| 4.4.4 | 4 | 06/28/2025 |
| 4.4.2 | 4 | 06/28/2025 |
| 4.4.1 | 5 | 06/28/2025 |
| 4.4.0 | 4 | 06/28/2025 |
| 4.3.0 | 4 | 06/28/2025 |
| 4.2.0 | 4 | 06/28/2025 |
| 4.1.3 | 4 | 06/28/2025 |
| 4.1.2 | 4 | 06/28/2025 |
| 4.1.1 | 4 | 06/28/2025 |
| 4.1.0 | 4 | 06/28/2025 |
| 4.0.0 | 4 | 06/28/2025 |
| 3.5.2 | 4 | 06/28/2025 |
| 3.5.1 | 4 | 06/28/2025 |
| 3.5.0 | 4 | 06/28/2025 |
| 3.4.0-beta1 | 4 | 06/28/2025 |
| 3.3.0 | 5 | 06/28/2025 |
| 3.2.0 | 4 | 06/28/2025 |