Skip to content

Commit a9c40bf

Browse files
committed
Fix errors in readme
1 parent 4698a1d commit a9c40bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ White spaces are not significant and will be ignored (except inside strings).
110110
In addition to the above, the following generic operators are also available:
111111
- `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).
112112
- `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.
114114
115115
116116
### Default functions
@@ -247,7 +247,7 @@ Supported types for the C++ function parameters:
247247
- `jsonexpr::number_float_t = double`, for floating-point numbers.
248248
- `jsonexpr::boolean_t = bool`, for booleans.
249249
- `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.
251251
- `jsonexpr::object_t = std::unordered_map<std::string, jsonexpr::json>`, for objects.
252252
- `jsonexpr::null_t = std::nullptr_t`, for null.
253253
- `jsonexpr::json = nlohmann::json`, for "any of the above" (handle type checks yourself).

0 commit comments

Comments
 (0)