RedisJSON / RedisJSON2

Rust based RedisJSON implementation - Deprecated and moved to RedisJSON/RedisJSON
https://redisjson.io
Other
54 stars 4 forks source link

json.num* operations should treat integers as such #55

Closed gkorland closed 5 years ago

gkorland commented 5 years ago
127.0.0.1:6379> JSON.set test . '{ "foo": 0, "bar": "baz" }'
OK
127.0.0.1:6379> JSON.NUMINCRBY test .foo 1
"1.0"

Should have return

"1"
gkorland commented 5 years ago

if both existing and input are Integers the results should stay integer