-
# Proposal
Allow to use Char type in object keys (names) when key is 1 symbol from ASCII range.
String:
```
[{]
[i][1][x][i][1]
[}]
```
Char:
```
[{]
[C][x][i][1]
[}]
```
Currently this …
-
A notoriously gray area in data formats, UBJSON will specify that IEEE 754 values will be big endian per this discussion - https://en.wikipedia.org/wiki/Endianness#Floating-point_and_endianness
Thank…
ghost updated
9 years ago
-
Currently strongly typed containers are defined with
```
[[][$][L][#][u][6]
```
however the [#] marker is redundant here since the spec requires that it always follows a [$]. Instead the spec could …
-
Found interesting issue. In UBJSON specification there are two integer types with overlapping ranges:
- `i` defines values in range `-128..127`
- `U` defines values in range `0..255`
If value is in r…
-
In Draft 9 `C` marker [was introduced](http://ubjson.org/type-reference/value-types/#char) as special optimization case for strings and actually was allowed to be used in objects for keys. Since Draft…
-
Inspired by #43 (ref: http://en.wikipedia.org/wiki/Half-precision_floating-point_format)
Half-precision floating point numbers would take 3 bytes instead of 5 bytes (40% reduction in size).
The only…
ghost updated
10 years ago
-
I am proposing a generic solution here to STC, that is not bound to containers, works across an entire UBJSON document and is fully JSON compatible.
The change is that types are not specifically bou…
-
Sent in by Elijah Dorman
In JS, ALL numbers MUST be based on IEEE 754 compliant 64-bit floating point numbers.
(see pages 18 and 41 in the official ECMAScript spec below)
http://www.ecma-internationa…
ghost updated
10 years ago
-
> The ARRAY and OBJECT types no longer have a length argument; all containers (like JSON) are considered to be unbounded. In the existing spec, this is know as the Streaming support.
Please add bound…
-
This has been by far the most requested addition, but my fear of incompatibility has always kept it at bay.
At least filing the request here incase someone has a compelling argument as to why this mu…
ghost updated
10 years ago