Below examples, shows how to convert XML file/String to Java Object (POJO) using JAXB
This tutorial shows how to change the default Controller name in swagger-ui/api docs generated by the swagger/springfox-swagger-ui/springfox-swagger2 for Spring REST Controllers/APIs
Below examples, shows different ways of getting the the MimeType for a given file using the standard Java
Below example shows how to get the MimeType for a given byte using Java URLConnection.guessContentTypeFromStream() method
This tutorial shows how to dynamically build queries/criteria using Specification based on the JPA Criteria API and use JpaSpecificationExecutor interface to execute the dynamically created query/Specification.
This example shows how to convert XLSX/Excel file to CSV format using Apache POI.
This tutorial shows how to use JSON.simple to encode the following JSON data with the strict order of keys.
As per JSON RFC, an object is an unordered collection of zero or more name/value pairs and most implementations of JSON make no effort to preserve the order of an object's name/value pairs.
If order of the elements are important, it can be done using JSONValue.toJSONString(map) method as shown below
This tutorial shows how to convert CSV file to JSON file using Jackson.
JSON.simple is a simple lightweight API for encoding and decoding JSON data. It is flexible, simple and easy to use by reusing Map and List interfaces
It has no dependency on any third party libraries
This tutorial shows how to find which applications/processes connected to a given WebSphere MQ (WMQ) Queue Manager or to a given Queue.