Sha256: 4bf28eefa0cb2accd2fc3d1ae4a3778c14c4c6f9442683bbabeb38805d88eed5

Contents?: true

Size: 1.4 KB

Versions: 45

Compression:

Stored size: 1.4 KB

Contents

{
    "description": "Int32 type",
    "bson_type": "0x10",
    "test_key": "i",
    "valid": [
        {
            "description": "MinValue",
            "canonical_bson": "0C0000001069000000008000",
            "canonical_extjson": "{\"i\" : {\"$numberInt\": \"-2147483648\"}}",
            "relaxed_extjson": "{\"i\" : -2147483648}"
        },
        {
            "description": "MaxValue",
            "canonical_bson": "0C000000106900FFFFFF7F00",
            "canonical_extjson": "{\"i\" : {\"$numberInt\": \"2147483647\"}}",
            "relaxed_extjson": "{\"i\" : 2147483647}"
        },
        {
            "description": "-1",
            "canonical_bson": "0C000000106900FFFFFFFF00",
            "canonical_extjson": "{\"i\" : {\"$numberInt\": \"-1\"}}",
            "relaxed_extjson": "{\"i\" : -1}"
        },
        {
            "description": "0",
            "canonical_bson": "0C0000001069000000000000",
            "canonical_extjson": "{\"i\" : {\"$numberInt\": \"0\"}}",
            "relaxed_extjson": "{\"i\" : 0}"
        },
        {
            "description": "1",
            "canonical_bson": "0C0000001069000100000000",
            "canonical_extjson": "{\"i\" : {\"$numberInt\": \"1\"}}",
            "relaxed_extjson": "{\"i\" : 1}"
        }
    ],
    "decodeErrors": [
        {
            "description": "Bad int32 field length",
            "bson": "090000001061000500"
        }
    ]
}

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
bson-5.0.2 spec/spec_tests/data/corpus/int32.json
bson-5.0.2-java spec/spec_tests/data/corpus/int32.json
bson-5.0.1 spec/spec_tests/data/corpus/int32.json
bson-5.0.1-java spec/spec_tests/data/corpus/int32.json
bson-5.0.0-java spec/spec_tests/data/corpus/int32.json
bson-5.0.0 spec/spec_tests/data/corpus/int32.json
bson-4.15.0-java spec/spec_tests/data/corpus/int32.json
bson-4.15.0 spec/spec_tests/data/corpus/int32.json
bson-4.14.1-java spec/spec_tests/data/corpus/int32.json
bson-4.14.1 spec/spec_tests/data/corpus/int32.json
bson-4.14.0-java spec/spec_tests/data/corpus/int32.json
bson-4.14.0 spec/spec_tests/data/corpus/int32.json
bson-4.13.0-java spec/spec_tests/data/corpus/int32.json
bson-4.13.0 spec/spec_tests/data/corpus/int32.json
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/bson-4.12.0/spec/spec_tests/data/corpus/int32.json
bson-4.12.1-java spec/spec_tests/data/corpus/int32.json
bson-4.12.1 spec/spec_tests/data/corpus/int32.json
bson-4.12.0-java spec/spec_tests/data/corpus/int32.json
bson-4.12.0 spec/spec_tests/data/corpus/int32.json
bson-4.11.1-java spec/spec_tests/data/corpus/int32.json