| 1 | [ |
| 2 | { |
| 3 | "id": "0080-feel-getvalue-function:decision_001:decision_001", |
| 4 | "expression": "get value()", |
| 5 | "expected": null, |
| 6 | "expected_type": "null", |
| 7 | "comparison": "exact", |
| 8 | "deviation": null |
| 9 | }, |
| 10 | { |
| 11 | "id": "0080-feel-getvalue-function:decision_002:decision_002", |
| 12 | "expression": "get value({a: \"foo\"})", |
| 13 | "expected": null, |
| 14 | "expected_type": "null", |
| 15 | "comparison": "exact", |
| 16 | "deviation": null |
| 17 | }, |
| 18 | { |
| 19 | "id": "0080-feel-getvalue-function:decision_003:decision_003", |
| 20 | "expression": "get value({a: \"foo\"}, \"a\", \"bar\")", |
| 21 | "expected": null, |
| 22 | "expected_type": "null", |
| 23 | "comparison": "exact", |
| 24 | "deviation": null |
| 25 | }, |
| 26 | { |
| 27 | "id": "0080-feel-getvalue-function:decision_004:decision_004", |
| 28 | "expression": "get value({a: \"foo\"}, \"a\")", |
| 29 | "expected": "foo", |
| 30 | "expected_type": "string", |
| 31 | "comparison": "exact", |
| 32 | "deviation": null |
| 33 | }, |
| 34 | { |
| 35 | "id": "0080-feel-getvalue-function:decision_005:decision_005", |
| 36 | "expression": "get value(\"foo\", \"foo\")", |
| 37 | "expected": null, |
| 38 | "expected_type": "null", |
| 39 | "comparison": "exact", |
| 40 | "deviation": null |
| 41 | }, |
| 42 | { |
| 43 | "id": "0080-feel-getvalue-function:decision_006:decision_006", |
| 44 | "expression": "get value({a: \"foo\"}, 123)", |
| 45 | "expected": null, |
| 46 | "expected_type": "null", |
| 47 | "comparison": "exact", |
| 48 | "deviation": null |
| 49 | }, |
| 50 | { |
| 51 | "id": "0080-feel-getvalue-function:decision_007:decision_007", |
| 52 | "expression": "get value(key:\"a\", m:{a: \"foo\"})", |
| 53 | "expected": "foo", |
| 54 | "expected_type": "string", |
| 55 | "comparison": "exact", |
| 56 | "deviation": null |
| 57 | }, |
| 58 | { |
| 59 | "id": "0080-feel-getvalue-function:decision_008:decision_008", |
| 60 | "expression": "get value(k:\"a\", m:{a: \"foo\"})", |
| 61 | "expected": null, |
| 62 | "expected_type": "null", |
| 63 | "comparison": "exact", |
| 64 | "deviation": null |
| 65 | }, |
| 66 | { |
| 67 | "id": "0080-feel-getvalue-function:decision_009:decision_009", |
| 68 | "expression": "get value(null, \"a\")", |
| 69 | "expected": null, |
| 70 | "expected_type": "null", |
| 71 | "comparison": "exact", |
| 72 | "deviation": null |
| 73 | }, |
| 74 | { |
| 75 | "id": "0080-feel-getvalue-function:decision_010:decision_010", |
| 76 | "expression": "get value({a: \"foo\"}, null)", |
| 77 | "expected": null, |
| 78 | "expected_type": "null", |
| 79 | "comparison": "exact", |
| 80 | "deviation": null |
| 81 | }, |
| 82 | { |
| 83 | "id": "0080-feel-getvalue-function:decision_011:decision_011", |
| 84 | "expression": "get value(null, null)", |
| 85 | "expected": null, |
| 86 | "expected_type": "null", |
| 87 | "comparison": "exact", |
| 88 | "deviation": null |
| 89 | }, |
| 90 | { |
| 91 | "id": "0080-feel-getvalue-function:decision_012:decision_012", |
| 92 | "expression": "get value({a: null}, \"a\")", |
| 93 | "expected": null, |
| 94 | "expected_type": "null", |
| 95 | "comparison": "exact", |
| 96 | "deviation": null |
| 97 | }, |
| 98 | { |
| 99 | "id": "0080-feel-getvalue-function:decision_013:decision_013", |
| 100 | "expression": "get value({a: \"foo\"}, input_001)", |
| 101 | "expected": "foo", |
| 102 | "expected_type": "string", |
| 103 | "comparison": "exact", |
| 104 | "deviation": null, |
| 105 | "context": { |
| 106 | "input_001": "a" |
| 107 | } |
| 108 | }, |
| 109 | { |
| 110 | "id": "0080-feel-getvalue-function:decision_014:decision_013", |
| 111 | "expression": "get value({a: \"foo\"}, input_001)", |
| 112 | "expected": null, |
| 113 | "expected_type": "null", |
| 114 | "comparison": "exact", |
| 115 | "deviation": null, |
| 116 | "context": { |
| 117 | "input_001": 12.0 |
| 118 | } |
| 119 | } |
| 120 | ] |