{"id":15678277,"url":"https://github.com/mechero/jackson-serialization-examples","last_synced_at":"2025-07-14T23:08:57.758Z","repository":{"id":90103155,"uuid":"141914083","full_name":"mechero/jackson-serialization-examples","owner":"mechero","description":"Commonly-used Java JSON serialization examples","archived":false,"fork":false,"pushed_at":"2018-07-31T17:58:58.000Z","size":23,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T07:46:53.078Z","etag":null,"topics":["deserialization","jackson","java","java-10","json","objectmapper","serialization"],"latest_commit_sha":null,"homepage":"https://thepracticaldeveloper.com/2018/07/31/java-and-json-jackson-serialization-with-objectmapper/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mechero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-22T16:52:26.000Z","updated_at":"2024-09-15T01:32:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"49790940-aed9-45d0-8b98-9355fed4ed82","html_url":"https://github.com/mechero/jackson-serialization-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mechero/jackson-serialization-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fjackson-serialization-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fjackson-serialization-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fjackson-serialization-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fjackson-serialization-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mechero","download_url":"https://codeload.github.com/mechero/jackson-serialization-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mechero%2Fjackson-serialization-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265365699,"owners_count":23753379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deserialization","jackson","java","java-10","json","objectmapper","serialization"],"created_at":"2024-10-03T16:19:32.102Z","updated_at":"2025-07-14T23:08:57.734Z","avatar_url":"https://github.com/mechero.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java and JSON - Jackson examples with ObjectMapper\n\nThis repository contains the code samples used in the blog post [Java and JSON: Jackson Serialization with ObjectMapper](https://thepracticaldeveloper.com/2018/07/31/java-and-json-jackson-serialization-with-objectmapper/).\nFollow the link to get all the information about the examples.\n\n## Contents\n\nThe code contains the following examples, all of them in the same JUnit test to you can actually see what's expected as output.\n\n* Serialization\n  * Jackson – Serialize String\n  * Jackson – Serialize String to JSON Object\n  * Jackson – Serialize a List of String\n  * Jackson – Serialize a Map of String\n  * Jackson – Serialize a String Wrapper class\n  * Jackson – Serialize objects with LocalDate (default)\n  * Jackson – Serialize objects with LocalDate in ISO format\n* Deserialization\n  * Jackson – Deserialize List of Strings\n  * Jackson – Deserialize and Unwrap Strings\n  * Jackson – Deserialize values using JsonNode\n  * Jackson – Deserialize to simple Java object\n  * Jackson – Deserialize to simple Java object with Empty Constructor\n  * Jackson – Deserialize to simple Java object using Annotations\n  * Jackson – Deserialize to a different Java class\n  * Jackson – Deserialize to Java object ignoring unknown fields with Configuration\n  * Jackson – Deserialize to Java object ignoring unknown fields with Annotation\n  * Jackson – Deserialize to a Map\n  * Jackson – Deserialize to a List of Maps\n  * Jackson – Deserialize to a List of Objects\n  * Jackson – Deserialize Optional\n  \n[Visit the blog post at The Practical Developer site](https://thepracticaldeveloper.com/2018/07/31/java-and-json-jackson-serialization-with-objectmapper/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmechero%2Fjackson-serialization-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmechero%2Fjackson-serialization-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmechero%2Fjackson-serialization-examples/lists"}