From e5f9e4d02aba96678afac533be9679523487006b Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 19 Dec 2025 19:48:57 +0300 Subject: [PATCH] fix: integers signs are unspecified in binary_json_spec.md --- doc/specs/binary_json_spec.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/specs/binary_json_spec.md b/doc/specs/binary_json_spec.md index 32158dd56..46ed868d6 100644 --- a/doc/specs/binary_json_spec.md +++ b/doc/specs/binary_json_spec.md @@ -1,6 +1,6 @@ # Binary JSON Format Specification -Format version: 1.0 +Format version: 1.1 This binary data format is developed for use as binary version of JSON in [VoxelEngine-Cpp](https://github.com/MihailRis/VoxelEngine-Cpp) and not compatible with [BSON](https://bsonspec.org/spec.html) due to elements/entries syntax and type codes differences @@ -26,10 +26,10 @@ document = uint32 (*entry) %x00 uint32 stores bytes number entry = cstring value value = %x01 document / %x02 (*value) %x00 list of values - / %x03 byte 8 bit integer - / %x04 int16 16 bit integer - / %x05 int32 32 bit integer - / %x06 int64 64 bit integer + / %x03 byte 8 bit unsigned integer + / %x04 int16 16 bit signed integer + / %x05 int32 32 bit signed integer + / %x06 int64 64 bit signed integer / %x07 float64 number / %x08 string utf-8 encoded string / %x09 uint32 (*byte) bytes array