We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 139787e commit b8bd29fCopy full SHA for b8bd29f
test/test_jsonpath.rb
@@ -1314,7 +1314,7 @@ def test_extractore_with_dollar_key
1314
end
1315
1316
def test_symbolize_key
1317
- data = { "store" => { "book" => [{"category" => "test"}]}}
+ data = { "store" => { "book" => [{"category" => "reference"}]}}
1318
assert_equal [{"category": "reference"}], JsonPath.new('$..book[0]', symbolize_keys: true).on(data)
1319
assert_equal [{"category": "reference"}], JsonPath.new('$..book[0]').on(data, symbolize_keys: true)
1320
0 commit comments