Git Product home page Git Product logo

coffee_json_test's Introduction

Coffee_JSON_TEST

Data를 JSON으로 던지기

Coffee(Batch)를 바탕으로 DataBase에 있는 데이터를 JSON으로 던지기

Jackson 라이브러리의 objectMapper 클래스의 writeValueAsString를 사용했습니다.
writeValueAsString는 직렬화(Serialization)와 역직렬화(Deserialization) 기능이 있습니다.

**직렬화(Serialization)는 Java 객체를 JSON 형식으로 변환하는 작업입니다.**
이때 객체의 데이터와 구조가 JSON 형태로 변환되어 저장되며,
이를 통해 웹 API 응답을 생성하거나 파일에 데이터를 저장할 수 있습니다.

**역직렬화(Deserialization)는 반대로 JSON 데이터를 Java 객체로 변환하는 작업입니다.**
JSON 형식의 데이터를 읽어와 객체의 필드와 구조로 변환하여 사용할 수 있습니다.
이를 통해 클라이언트가 보낸 JSON 요청을 서버에서 처리하거나, 저장된 JSON 데이터를 Java 객체로 변환하여 활용할 수 있습니다.

coffee_json_test's People

Contributors

jgu0822 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.