Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Created March 13, 2015 18:38
Show Gist options
  • Select an option

  • Save ripienaar/bfc86807231288522a1b to your computer and use it in GitHub Desktop.

Select an option

Save ripienaar/bfc86807231288522a1b to your computer and use it in GitHub Desktop.
Data:
{
"machines": [{"name": "a", "state": "running", "x":"100"}]
}
Search:
machines[?x==`100`] -> []
Data:
{
"machines": [{"name": "a", "state": "running", "x":100}]
}
Search:
machines[?x==`100`] -> $expected_result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment