json_select
json_select copied to clipboard
contains text selector
please add val selector support, thanks
user = { :id => 1, :name => 'admin' }
JSONSelect(".name:val(\"admin\") ~ .id").match user
A jQuery ":has(x:contains('text here'))" is very useful.