Title: assertEquals fails · Issue #10 · stleary/JSON-java · GitHub
Open Graph Title: assertEquals fails · Issue #10 · stleary/JSON-java
X Title: assertEquals fails · Issue #10 · stleary/JSON-java
Description: At line 172 of Test.java file there's an "assertEquals" failing. This is the expected: {"cook_time":"3 hours","name":"bread","tagName":"recipe","childNodes":[{"tagName":"title","childNodes":["Basic bread"]},{"amount":8,"unit":"dL","tagNa...
Open Graph Description: At line 172 of Test.java file there's an "assertEquals" failing. This is the expected: {"cook_time":"3 hours","name":"bread","tagName":"recipe","childNodes":[{"tagName":"title","childNodes":["Basic...
X Description: At line 172 of Test.java file there's an "assertEquals" failing. This is the expected: {"cook_time":"3 hours","name":"bread","tagName"...
Opengraph URL: https://github.com/stleary/JSON-java/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"assertEquals fails","articleBody":"At line 172 of Test.java file there's an \"assertEquals\" failing.\n\nThis is the expected:\n\n```\n{\"cook_time\":\"3 hours\",\"name\":\"bread\",\"tagName\":\"recipe\",\"childNodes\":[{\"tagName\":\"title\",\"childNodes\":[\"Basic bread\"]},{\"amount\":8,\"unit\":\"dL\",\"tagName\":\"ingredient\",\"childNodes\":[\"Flour\"]},{\"amount\":10,\"unit\":\"grams\",\"tagName\":\"ingredient\",\"childNodes\":[\"Yeast\"]},{\"amount\":4,\"unit\":\"dL\",\"tagName\":\"ingredient\",\"state\":\"warm\",\"childNodes\":[\"Water\"]},{\"amount\":1,\"unit\":\"teaspoon\",\"tagName\":\"ingredient\",\"childNodes\":[\"Salt\"]},{\"tagName\":\"instructions\",\"childNodes\":[{\"tagName\":\"step\",\"childNodes\":[\"Mix all ingredients together.\"]},{\"tagName\":\"step\",\"childNodes\":[\"Knead thoroughly.\"]},{\"tagName\":\"step\",\"childNodes\":[\"Cover with a cloth, and leave for one hour in warm room.\"]},{\"tagName\":\"step\",\"childNodes\":[\"Knead again.\"]},{\"tagName\":\"step\",\"childNodes\":[\"Place in a bread baking tin.\"]},{\"tagName\":\"step\",\"childNodes\":[\"Cover with a cloth, and leave for one hour in warm room.\"]},{\"tagName\":\"step\",\"childNodes\":[\"Bake in the oven at 180(degrees)C for 30 minutes.\"]}]}],\"prep_time\":\"5 mins\"}\n```\n\nand this is the actual one:\n\n```\n{\"cook_time\":\"3 hours\",\"childNodes\":[{\"childNodes\":[\"Basic bread\"],\"tagName\":\"title\"},{\"unit\":\"dL\",\"childNodes\":[\"Flour\"],\"tagName\":\"ingredient\",\"amount\":8},{\"unit\":\"grams\",\"childNodes\":[\"Yeast\"],\"tagName\":\"ingredient\",\"amount\":10},{\"state\":\"warm\",\"unit\":\"dL\",\"childNodes\":[\"Water\"],\"tagName\":\"ingredient\",\"amount\":4},{\"unit\":\"teaspoon\",\"childNodes\":[\"Salt\"],\"tagName\":\"ingredient\",\"amount\":1},{\"childNodes\":[{\"childNodes\":[\"Mix all ingredients together.\"],\"tagName\":\"step\"},{\"childNodes\":[\"Knead thoroughly.\"],\"tagName\":\"step\"},{\"childNodes\":[\"Cover with a cloth, and leave for one hour in warm room.\"],\"tagName\":\"step\"},{\"childNodes\":[\"Knead again.\"],\"tagName\":\"step\"},{\"childNodes\":[\"Place in a bread baking tin.\"],\"tagName\":\"step\"},{\"childNodes\":[\"Cover with a cloth, and leave for one hour in warm room.\"],\"tagName\":\"step\"},{\"childNodes\":[\"Bake in the oven at 180(degrees)C for 30 minutes.\"],\"tagName\":\"step\"}],\"tagName\":\"instructions\"}],\"tagName\":\"recipe\",\"name\":\"bread\",\"prep_time\":\"5 mins\"}\n```\n","author":{"url":"https://github.com/Neurone","@type":"Person","name":"Neurone"},"datePublished":"2011-01-13T18:43:03Z","url":"https://github.com/stleary/JSON-java/issues/10"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:acacd43f-3895-7c81-dbc4-104fa1250efe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1C6:D86A9:20099C:2B0A5C:6AFD44E8 |
| html-safe-nonce | 458fa520bcc2fe5e756d86d1f87bd5849446b7a024f40cfc53852e9766f03231 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUM2OkQ4NkE5OjIwMDk5QzoyQjBBNUM6NkFGRDQ0RTgiLCJ2aXNpdG9yX2lkIjoiNzAxMDE0Mzk2MDQ1MDI4NjgyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be38140f3536d7a15f3783693700ecaf6c3b9e42aa6c60630e0a3077986b19a0 |
| hovercard-subject-tag | issue:525227 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/stleary/JSON-java/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/583cb5c28ca491eaccaa54bd081656355fecc9031bf31c9a1e2e087c2784885c/stleary/JSON-java/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/583cb5c28ca491eaccaa54bd081656355fecc9031bf31c9a1e2e087c2784885c/stleary/JSON-java/issues/10 |
| og:image:alt | At line 172 of Test.java file there's an "assertEquals" failing. This is the expected: {"cook_time":"3 hours","name":"bread","tagName":"recipe","childNodes":[{"tagName":"title","childNodes":["Basic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Neurone |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/stleary/JSON-java git https://github.com/stleary/JSON-java.git |
| octolytics-dimension-user_id | 5107558 |
| octolytics-dimension-user_login | stleary |
| octolytics-dimension-repository_id | 1187853 |
| octolytics-dimension-repository_nwo | stleary/JSON-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1187853 |
| octolytics-dimension-repository_network_root_nwo | stleary/JSON-java |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width