basic.json 693 B

123456789101112131415161718192021222324252627
  1. [{
  2. "description": "Basic minimal case",
  3. "given":
  4. {"foo": {"bar": {"baz": "correct"}}},
  5. "cases": [
  6. {
  7. "name": "single_expression",
  8. "expression": "foo",
  9. "result": {"bar": {"baz": "correct"}}
  10. },
  11. {
  12. "name": "single_dot_expression",
  13. "expression": "foo.bar",
  14. "result": {"baz": "correct"}
  15. },
  16. {
  17. "name": "double_dot_expression",
  18. "expression": "foo.bar.baz",
  19. "result": "correct"
  20. },
  21. {
  22. "name": "dot_no_match",
  23. "expression": "foo.bar.baz.bad",
  24. "result": null
  25. }
  26. ]
  27. }]