API ReferenceJSON
JSONType
Get the type of a JSON value
Syntax
Redix.JSONType(key, path, callback)Parameters
Prop
Type
Returns
Prop
Type
Example
Redix.JSONType('character:123', '$.stats', function(err, type)
if not err then
print('Type:', type) -- "object"
end
end)