Skip to content

Releases: SirTony/json.d

Adding non-standard extensions.

10 Dec 22:34
Compare
Choose a tag to compare
Pre-release

The primary focus of this release is the addition of (optional) non-standard extensions to JSON.

These extensions include:

  • Single-quoted strings
  • Unquoted (identifier) object keys
  • Trailing commas in objects and arrays
  • Single ling comments beginning with //
  • Multi-line comments beginning with /* and ending with */. Multi-line comments can be nested inside other multi-line comments.

JavaScript's undefined is not supported.

Several other small fixes and changes are also included.

Overhauling library internals and public API

17 May 10:57
Compare
Choose a tag to compare

This release includes many changes, including breaking changes.

The main changes are:

  • JsonValue no longer tries to overload all applicable operators for every internal type
  • JsonValue has convenience functions for testing a value's type
  • JsonValue now differentiates between signed, unsigned, and floating point number types
  • JsonValue no longer has a Boolean type, instead it has True and False types
  • JsonValue's default constructor has been re-enabled to allow for null values to be easily created
  • JsonValue has a constructor that accepts typeof( null ) to allow null values to be assigned

Initial release

22 Dec 04:28
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

The initial JSON.d release. Supports basic reading, writing, and manipulation of JSON documents.