Skip to content

CBOR version 2.4.0

Choose a tag to compare

@peteroupc peteroupc released this 11 Feb 18:29
· 1481 commits to master since this release
  • The arbitrary-precision classes in this library are being replaced
    with a new library (called 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,
    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

[Download CBOR Library in C#](http://sourceforge.net/projects/petero-cbor/files/v2.4.0/CBOR version 2.4.0.zip/download)