secomind / exjsonpath

JSONPath library for Elixir
Apache License 2.0
24 stars 7 forks source link

Add union operator #16

Closed bettio closed 4 years ago

bettio commented 4 years ago

Implement union operator, that is used for expressions such as $.test[4,2,0].

When used with %{"test" => ["0", "1", "2", "3", "4", "5"]} the expresion return value is {:ok, ["4", "2", "0"]}.