Repo Added
|
Files
6
|
Badge
Embed ▾
README BADGES
|
push
github
Ensure array_type has front() method + fix array_type on jsoncpp (#361) * Use operator[] instead of front to support jsoncpp Replace the `front()` with `[0]` as front is not supported by jsoncpp on array types. Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> * Revert "Use operator[] instead of front to support jsoncpp" This reverts commit dfa7d29da. * Implement `front()` in jsoncpp array_type Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> * Check if array_type has a front() method Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> * Add `front()` to jsoncons array_type * Remove non-const overloads of front() Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> * Fix check for front() in array_type Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> * Use std::decay Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> * fix example to print array value * expose base class ctors * update as_array traits helper * fixup linter --------- Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
1285 of 1353 relevant lines covered (94.97%)
255.52 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|