Have you ever need to merge two (or more) JSON files and you wondered if you can do it in the command-line? In this blog post, I will show you how you can use
jq command-line JSON processor to merge recursively multiple JSON files.
One of the most popular map-related operation in any programming language is merging two (or more) maps. In this short blog post, I explain how to do it in the Groovy programming language, starting from the simplest
+ operation, up to more advanced use cases of merging nested maps and using runtime metaprogramming to add a
merge method to the
Map interface. Enjoy reading and learning!