Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. json to object

Tag: json to object

j
java April 29, 2024 4 min read by mkyong 0 comments

How to parse JSON using Moshi

This article shows how to parse JSON using Moshi. Table of contents: 1. Download Moshi 2. Parse JSON using Moshi 3. Parse JSON Array using Moshi 4. Convert Java Object to JSON String 5. Download Source Code 6. References P.S Tested with Moshi 1.15.1 1. Download Moshi Declare moshi in the pom.xml, and it will […]

Read more How to parse JSON using Moshi
j
java April 24, 2024 5 min read by mkyong 1 comment

Convert Java Objects to JSON with Jackson

This article will show you how to convert Java objects to JSON with Jackson. Table of contents: 1. Setup Jackson 2. Jackson quick examples 3. Convert Java Object to JSON using Jackson 4. Convert JSON to Java object using Jackson 5. Write Java object to JSON file 6. Read from JSON file to Java object […]

Read more Convert Java Objects to JSON with Jackson
json logo
java April 25, 2019 6 min read by mkyong 0 comments

How to parse JSON string with Jackson

This article uses the Jackson framework to parse JSON strings in Java. Table of contents: 1. Download Jackson 2. Parse JSON String with Jackson 3. Parse JSON Array with Jackson 4. Convert Java Object to JSON String 5. Convert JSON String to Java Object 6. Download Source Code 7. References P.S Tested with Jackson 2.17.0 […]

Read more How to parse JSON string with Jackson
json logo
java August 11, 2011 5 min read by mkyong 1 comment

Read and write JSON using JSON.simple

This article shows how to read and write JSON using JSON.simple. Table of contents: 1. Setup JSON.simple 2. Write JSON to File using JSON.simple 3. Read JSON from File using JSON.simple 4. Java object to JSON using JSON.simple 5. JSON to Java Object using JSON.simple 6. Download Source Code 7. References P.S Tested with json-simple […]

Read more Read and write JSON using JSON.simple

Java and Spring tutorials since 2008. Every example is a complete, runnable file, compiled and run on a real machine before it goes out.

About This Site

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use

© 2026 mkyong.com — Powered by WordPress

RSS