Learn how to sort JSON objects using two popular JSON processing Java libraries.
Baeldung Author
Jonathan Cook
Jonathan has more than 10 years of experience as a Senior Software Engineer with a focus on Java. He is particularly passionate about testing and ensuring the quality of the systems he is responsible for. He has contributed to several open source projects and can now be found in Spain looking after the ESA science archives.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (19)
- Spring Boot (5)
- Jakarta EE (3)
- NoSQL (2)
- Java Dates (2)
- Java (2)
- Jackson (2)
- JSON (2)
- HTTP Client-Side (2)
- Core Java (2)
- XML (1)
- Spring (1)
- REST (1)
- Java String (1)
- Java Numbers (1)
- JVM (1)
- Data (1)
How to Convert org.w3c.dom.Document to String in Java
Filed under Java String, XML
Learn how to create an XML Document from a Java String object and convert it back into a String using the javax.xml.transform package.
Overview of Mockito MockedConstruction
Filed under Testing
A quick and practical guide to Mockito’s MockedConstruction.
Mock a URL Connection in Java
Filed under Testing
Explore several ways of mocking a URL connection to write stand-alone unit tests that don’t rely on external services.
Jackson’s Deserialization With Lombok
Filed under Jackson
Explore two simple approaches to configure our Lombok builder classes to work seamlessly with Jackson.
Apache Camel Exception Handling
Filed under Data
Learn how to handle exceptions in our routes using Apache Camel.
Apache Camel Conditional Routing
Filed under Spring
Learn how we can route messages based on conditions in our routes using Apache Camel.
Apache Camel Routes Testing in Spring Boot
Filed under Spring Boot, Testing
Learn how to test Apache Camel routes in Spring Boot.
Connecting to a NoSQL Database with Spring Boot
Filed under NoSQL, Spring Boot
Learn how to set up and connect to a hosted Cassandra Astra Database.
Baeldung on Linux
- All
- Scripting (2)
- File Editing (2)
- Web (1)
- File Conversion (1)
- File Compression (1)
How to Exit a Shell Script From a Subshell
Filed under Scripting
Learn various methods to exit a shell script from within a subshell on Linux.
Manipulating Images With ImageMagick Command-Line Tools
Filed under File Conversion, File Editing
Learn some of the basic capabilities that ImageMagick provides for manipulating images via the command line.
Extracting a WAR File in Linux
Filed under File Compression
Explore several alternatives for extracting and viewing the contents of WAR files on the Linux platform.
Linux Commands – Remove All Text After X
Filed under File Editing
A quick and practical overview of trimming strings after sequence occurrences on Linux.
Guide to Linux jq Command for JSON Processing
Filed under Web
Explore the capabilities that jq provides for processing and manipulating JSON via the command line.
Linux Commands – Looping Through Directories
Filed under Scripting
Learn strategies for looping through directories in Linux
Baeldung on Scala
- All
- Testing (1)
Introduction to Testing With ScalaTest
Filed under Testing
Learn about ScalaTest, a comprehensive testing framework for Scala.