Title: Fix decoding nested empty json array error by aoxu · Pull Request #2 · luaforge/json · GitHub
Open Graph Title: Fix decoding nested empty json array error by aoxu · Pull Request #2 · luaforge/json
X Title: Fix decoding nested empty json array error by aoxu · Pull Request #2 · luaforge/json
Description: test case: require("json") local t = "{ \"a\" : { \"b\" : [ ] } }" print(json.decode(t)) I fixed it.
Open Graph Description: test case: require("json") local t = "{ \"a\" : { \"b\" : [ ] } }" print(json.decode(t)) I fixed it.
X Description: test case: require("json") local t = "{ \"a\" : { \"b\" : [ ] } }" print(json.decode(t)) I fixed it.
Opengraph URL: https://github.com/luaforge/json/pull/2
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:15e610bc-049f-ac45-ff1f-dff906af907d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF58:9A812:19A07B3:2155843:6976F46C |
| html-safe-nonce | 671a8eaa5e5a726e616cd2079a7be52ecdb4c7702dda87a7f19c6b857ff7cc9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjU4OjlBODEyOjE5QTA3QjM6MjE1NTg0Mzo2OTc2RjQ2QyIsInZpc2l0b3JfaWQiOiI4NTQyNjA0MjI5MzM4NDMwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4856f05b510b4729ba9d0533afab02ff2ba86a174dfe849ecfa939f053e3881d |
| hovercard-subject-tag | pull_request:6363437 |
| 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/luaforge/json/2/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7753383ba81ecd186e702c453095f1053c21912f5bb3f10685dd94b78cde7924/luaforge/json/pull/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7753383ba81ecd186e702c453095f1053c21912f5bb3f10685dd94b78cde7924/luaforge/json/pull/2 |
| og:image:alt | test case: require("json") local t = "{ \"a\" : { \"b\" : [ ] } }" print(json.decode(t)) I fixed it. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aoxu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/luaforge/json git https://github.com/luaforge/json.git |
| octolytics-dimension-user_id | 562004 |
| octolytics-dimension-user_login | luaforge |
| octolytics-dimension-repository_id | 1277201 |
| octolytics-dimension-repository_nwo | luaforge/json |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 7775135 |
| octolytics-dimension-repository_parent_nwo | craigmj/json4lua |
| octolytics-dimension-repository_network_root_id | 7775135 |
| octolytics-dimension-repository_network_root_nwo | craigmj/json4lua |
| 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 | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width