All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.StringToMapConverter.groovy Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.4.0
Show newest version
package com.netgrif.application.engine

import groovy.json.JsonSlurper
import org.springframework.core.convert.converter.Converter
import org.springframework.stereotype.Component

@Component
class StringToMapConverter implements Converter {

    @Override
    Map convert(String s) {
        return new JsonSlurper().parseText(s) as Map
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy