differ-core / com.differ.differcore.service / MapTransformerService

MapTransformerService

interface MapTransformerService

Service for transforming map.

Service expand flattened map and vice versa.

See Also

MapTransformerServiceImpl

Author
Vladislav Iusiumbeli

Since
1.0.0

Functions

expandToMapObjects

Expand flattened map to MutableMap.

abstract fun expandToMapObjects(flattenMap: Map<String, Any?>): MutableMap<String, Any?>

flattenMap

Flatten json data in map format.

abstract fun flattenMap(mapToFlatten: Map<String, Any>): Map<String, Any?>

Inheritors

MapTransformerServiceImpl

Implementation of MapTransformerService interface.

open class MapTransformerServiceImpl : MapTransformerService