Registry / serialization / diegoholiveira-jsonlogic

diegoholiveira-jsonlogic

JSON →
library2.3.1+incompatiblegogounverified

JSON Logic implements the JSON Logic format for evaluating rules and expressions.

go get github.com/diegoholiveira/jsonlogic
INSTALL
IMPORT
SIG · DIEGOHOLIVEIRA-JSO
D
diegoholiveira-jsonlogic
serializationgov2.3.1+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jsonlogic
github.com/diegoholiveira/jsonlogic

Apply a JSON Logic rule to data using jsonlogic.Apply

package main import ( "fmt" "github.com/diegoholiveira/jsonlogic" ) func main() { rule := `{"==": [1, 1]}` data := `{}` result, err := jsonlogic.Apply(rule, data) if err != nil { fmt.Println(err) return } fmt.Println(string(result)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.1+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
diegoholiveira-jsonlogic — go get diegoholiveira-jsonlogic · libregistry