xml-json

Parse and generate XML and JSON: readers, builders, object mapping, and serialization, with practical examples you can run and adapt.

Groovy CSV Parsing and Generation – 10+ Tested Examples

Groovy CSV parsing and generation with 10+ examples. Split, tokenize, OpenCSV, read/write CSV files, handle headers and special chars on Groovy 5.0.6. “CSV files are the cockroaches of data formats – they survive everything and show up everywhere. Groovy gives you clean ways to deal with them.” Last Updated: July 2026 | Tested on: Groovy 5.0.6, Java 17+ | Difficulty: Beginner to Intermediate | Reading Time: 22 minutes CSV files are everywhere – data exports, spreadsheet dumps, log files, database ... Read More

Groovy REST API Consumption – Fetch and Parse JSON with 10+ Examples

Groovy REST API consumption with 10+ examples. Fetch JSON with URL.text, HttpURLConnection, POST requests, headers, and error handling on Groovy 5.0.6. “The best thing about Groovy’s HTTP support is that you can hit an API and parse the response in two lines of code. Try doing that in plain Java.” Last Updated: July 2026 | Tested on: Groovy 5.0.6, Java 17+ | Difficulty: Intermediate | Reading Time: 24 minutes Modern applications live and breathe APIs. Pulling data from a third-party ... Read More

Groovy JSON Parsing with JsonSlurper – 10+ Tested Examples

Groovy JSON parsing with JsonSlurper. 10+ examples covering parseText, parse URL, nested fields, arrays, lazy parsing, and error handling on Groovy 5.0.6. “JSON is the duct tape of the internet. Groovy’s JsonSlurper is the scissors that makes it easy to cut through.” Last Updated: July 2026 | Tested on: Groovy 5.0.6, Java 17+ | Difficulty: Beginner to Intermediate | Reading Time: 22 minutes If you work with web APIs, configuration files, or any modern data exchange format, you work with ... Read More