/Newtonsoft.Json.Cbor

Json.NET CBOR adds support for reading and writing CBOR to Json.NET

Primary LanguageC#MIT LicenseMIT

Logo Json.NET CBOR

A Concise Binary Object Representation (CBOR) extenesion for Newtonstoft's JSON lirbary that will soon fully support [RFC 7049]

This library is still in early alpha. Forked from Newtonsoft.Json.Bson with plenty of renameing to do.

So far this Supports everything short of Optional Tagging of Items (Section 2.4 of RFC 7049) which includes:

  • Unsinged Numbers
  • Negative Numbers,
  • (deserialising only) IEEE 754 Half-Presicion flaots
  • IEEE 754 Single-Presicion flaots
  • IEEE 754 double-Presicion flaots
  • Booleans, Null, Undefined
  • Arrays (including indefinite length)
  • Maps (including indefinite length)
  • Text Strings
  • Byte Strings

Suppport for Serialising DateTime, Regex, et al will soon follow along with Async methods.