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 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 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 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 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

Mkyong.com has provided Java and Spring tutorials, guides, and code snippets since 2008. All published articles are simple, easy to understand, and well-tested in our development environment.

Mkyong.com licenses all source code on this website under the MIT License.

About
  • About Us
  • Code License
  • Privacy Policy
  • Terms Of Use
  • Contact Us
Tools
  • Spring Framework
  • Quarkus Framework
  • Micronaut Framework
  • Oracle Java JDK
  • Eclipse Temurin JDK
  • OpenJDK JDK
  • Hibernate ORM
  • Maven Build Tool
  • Gradle Build Tool
  • Tomcat Application Server
  • Docker
Links
  • Maven Central
  • Docker Hub
  • Spring Guides
  • Quarkus Guides
  • Micronaut Guides
  • Martin Fowler
  • AskPython

© 2026 mkyong.com — Powered by WordPress

RSS