summaryrefslogtreecommitdiff
path: root/json/tests/draft4/optional/zeroTerminatedFloats.json
blob: 9b50ea277694ae242a2df9a6700959f723774e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[
    {
        "description": "some languages do not distinguish between different types of numeric value",
        "schema": {
            "type": "integer"
        },
        "tests": [
            {
                "description": "a float is not an integer even without fractional part",
                "data": 1.0,
                "valid": false
            }
        ]
    }
]