MapFlattener taken from here https://github.com/dmillett/jConfigMap
Type | Name and description |
---|---|
boolean |
convertEmptyStringsToNull |
Type Params | Return Type | Name and description |
---|---|---|
|
Map<String, String> |
flatten(Object groovyJsonObject) Groovy transforms JSON to either a Map or List based on the root node. |
|
Map<String, String> |
transformGroovyJsonMap(Map jsonMap, String currentName) Iterates through each Map entry and transforms any sub-maps or sub-arrays therein. |
|
Map<String, String> |
transformJsonArray(List jsonArray, String currentName) Flatten Groovy-JSON Array objects |
Groovy transforms JSON to either a Map or List based on the root node.
Iterates through each Map entry and transforms any sub-maps or sub-arrays therein. Otherwise, it is just a string "key" and "value".