Title: [POC] Add `Expectation::isJson()` to verify json string and decode by kbond · Pull Request #19 · zenstruck/assert · GitHub
Open Graph Title: [POC] Add `Expectation::isJson()` to verify json string and decode by kbond · Pull Request #19 · zenstruck/assert
X Title: [POC] Add `Expectation::isJson()` to verify json string and decode by kbond · Pull Request #19 · zenstruck/assert
Description: Standalone, lightweight, framework agnostic, test assertion library. - [POC] Add `Expectation::isJson()` to verify json string and decode by kbond · Pull Request #19 · zenstruck/assert
Open Graph Description: Per a slack discussion with @nikophil. Assert::that('[4, 5, 6]') ->isJson() // json_decode's the current value and starts a new expectation with this ->contains(5) ; Asse...
X Description: Per a slack discussion with @nikophil. Assert::that('[4, 5, 6]') ->isJson() // json_decode's the current value and starts a new expectation with this ->...
Opengraph URL: https://github.com/zenstruck/assert/pull/19
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:fa70899f-bbd5-3512-4447-88722be588ad |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9C8:161581:228C6AB:2C62D0F:69928A6B |
| html-safe-nonce | 992d283c966a3ad2c64fe7d6ac1a3e025ed776d23b364fbb048ad46da03cd588 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUM4OjE2MTU4MToyMjhDNkFCOjJDNjJEMEY6Njk5MjhBNkIiLCJ2aXNpdG9yX2lkIjoiNDIxOTg1Mjc1MjE3MDQyMDg0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4eebf2eb446a10e6d8346b1c06c41830ad0b2814f363e58a395fd91cc51cb949 |
| hovercard-subject-tag | pull_request:993422252 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/zenstruck/assert/19/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d9736a568dbe92852bb4305d0f443ab968ca4a764e1bf39b5bf664d4246cf711/zenstruck/assert/pull/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9736a568dbe92852bb4305d0f443ab968ca4a764e1bf39b5bf664d4246cf711/zenstruck/assert/pull/19 |
| og:image:alt | Per a slack discussion with @nikophil. Assert::that('[4, 5, 6]') ->isJson() // json_decode's the current value and starts a new expectation with this ->contains(5) ; Asse... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kbond |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/zenstruck/assert git https://github.com/zenstruck/assert.git |
| octolytics-dimension-user_id | 475780 |
| octolytics-dimension-user_login | zenstruck |
| octolytics-dimension-repository_id | 386738858 |
| octolytics-dimension-repository_nwo | zenstruck/assert |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 386738858 |
| octolytics-dimension-repository_network_root_nwo | zenstruck/assert |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width