Random developerrandom-dev.hashnode.dev·Nov 21, 2023Enhancing JSON Manipulation in Java with Jackson JsonNodeJSON, or JavaScript Object Notation, serves as a widely adopted data exchange format due to its simplicity and ease of use. However, when dealing with JSON in a language like Java, where objects are omnipresent, the relevance of JSON nodes becomes ap...Discussjackson
Merge Simpsonletsdev.hashnode.dev·Nov 18, 2023응답이 변칙적이에요? 응답하라, 변칙 Response Body. Spring Boot API🇰🇷 Kor: 지금 보는 중!🗺 Eng: Not yet!🇯🇵 Jap: まだです。 API 데이터 입출력 여기 API 요청과 응답을 표현한 작은 그림이 있습니다. 웹 표준이 XML이고 뭐고, 우리는 어차피 JSON 양식으로 데이터를 주고 받는 편입니다. JSON은 자바스크립트 객체의 모습을 띤 문자열 데이터로, 읽기 쉬우면서도 여러 환경에서 쉽게 호환되는 양식이기 때문에 여러 곳에서 선호하거든요. 스프링 부트에서는 이 JSON 문자열...Discuss·27 readsjson include
Zikani Nyirenda Mwasezikani.hashnode.dev·Sep 23, 2023Keeping @JsonProperty and Bean Validation field error messages in sync in a Spring Boot projectDamn, this one bit me very recently. So imagine you have a Java API and because of whatever reasons you agreed that the JSON properties for the requests should be in snake_case_form. Cool, cool, that just wants a simple Jackson @JsonProperty annotati...Discuss·40 readsSpringboot
Chris BathProblog.bluurr.com·Sep 9, 2023Jackson - Controlling What You Don't OwnThis post explores how to customise JSON output using several Jackson features and Spring Boot . Even when you can't modify class definitions, learn valuable techniques like mixin and delegates . Use case We have the following class definition: publi...Discuss·11 likes·159 readsjackson
Ahrooranahrooran.hashnode.dev·May 13, 2023Parsing Unstructured JSONIntroduction JSON, or JavaScript Object Notation, is a lightweight data-interchange format that is easy for both humans and machines to read and write. It is based on a subset of the JavaScript programming language, and is quickly becoming the de fac...Discuss·126 readsjson
Uday Kommireddyudaykirankommireddy.hashnode.dev·May 2, 2023Serialization & Deserialization of JSON using JacksonWhat is JSON? How will a Python application communicate with a SpringBoot server? They need a common language to convey information, right? For this purpose, there are standard formats like JSON, XML etc, made use of for transferring data across syst...Discuss·52 likes·85 readsjackson
Joseph Ganbwgjoseph.com·Dec 28, 2022Polymorphic DTO using Java Record with JacksonWith the introduction of Java Record class, it becomes the perfect candidate to use as a Data Transfer Object (DTO). I'm not going to explain more, you can find tons of articles out there with its benefit and code samples. However, what is missing ou...Discuss·1.8K readsJava
Thirumurthi Sthirumurthi.hashnode.dev·Oct 9, 2022Parse part of JSON string using JavaGiven a string in JSON format parse only part of the JSON using Java library without mapping to POJO's When working with JSON objects, there are possible scenarios where we only need a part of the JSON. Mostly in this scenario, we also don't want t...Discuss·228 readsjackson
Shane Jenningsstacktobasics.com·Apr 29, 2022Using Jackson Subtypes to Write Better CodeIn this post, we'll look at how Jackson Subtypes can automatically map JSON to the right subclass, without having to write your own converter.First, we'll give some background into why this is useful, and then we'll go through some practical examples...Discuss·1.7K readsJava