Closed GeorgeD19 closed 2 years ago
To Reproduce
package main import ( "bytes" "fmt" "strings" "github.com/diegoholiveira/jsonlogic/v3" ) func main() { logic := strings.NewReader(`{"<": ["abc", 3]}`) data := strings.NewReader(`{}`) var result bytes.Buffer jsonlogic.Apply(logic, data, &result) fmt.Println(result.String()) }
Expected false
"abc" is not less than 3. Using the same logic / data here https://jsonlogic.com/play.html will return the expected result.
Actual true
Fixed in 08d60112ba3e0e666682f677a0c43899284013a3
To Reproduce
Expected false
"abc" is not less than 3. Using the same logic / data here https://jsonlogic.com/play.html will return the expected result.
Actual true