You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ White spaces are not significant and will be ignored (except inside strings).
110
110
In addition to the above, the following generic operators are also available:
111
111
- `a if c else b`: evaluate and return `a` if condition `c` evaluates to `true`, else evaluate and return `b` (NB: this short-circuits evaluation of the unused operand).
112
112
- `a in b`: return true if `b` (a string, array, or object) contains `a`, false otherwise.
113
-
- `a not in b`: return true if `b` (a string, array, or object) does not contains `a`, false otherwise.
113
+
- `a not in b`: return true if `b` (a string, array, or object) does not contain `a`, false otherwise.
114
114
115
115
116
116
### Default functions
@@ -247,7 +247,7 @@ Supported types for the C++ function parameters:
247
247
-`jsonexpr::number_float_t = double`, for floating-point numbers.
248
248
-`jsonexpr::boolean_t = bool`, for booleans.
249
249
-`jsonexpr::string_t = std::string`, for strings.
250
-
-`jsonexpr::array_t = std::array<jsonexpr::json>`, for arrays.
250
+
-`jsonexpr::array_t = std::vector<jsonexpr::json>`, for arrays.
251
251
-`jsonexpr::object_t = std::unordered_map<std::string, jsonexpr::json>`, for objects.
252
252
-`jsonexpr::null_t = std::nullptr_t`, for null.
253
253
-`jsonexpr::json = nlohmann::json`, for "any of the above" (handle type checks yourself).
0 commit comments