Groovy web console

subscribe to the feed Subscribe
to this
site

T

Published 6 months ago by dmrbdlln
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
import groovy.json.JsonSlurper
def jsonContent = """
{
    "tech-mfm-m3":  "2.531.200814.101136",
    "tech-mfm-sms-mw":  "2.20.210902.220256-QC",
    "tech-mfm-wap-mw":  "1.0.232-QC",
    "tech-mfm-rdc-profile":  "1.0.211005.222412",
    "tech-ofm":  "3.42.211130.115132-QC",
    "tech-mfm-mfmmw-mw":  "2.36.1706.211130-QC",
    "tech-mfm-accountselector-profile":  "1.0.180402.115520-QC-147",
    "tech-mfm-ofx-profile":  "1.0.211126.214624-QC",
    "tech-ofm-sms-mw":  "2.21.104.200604-QC-147",
    "tech-mfm-depositanytime-mw":  "2.9.211123.124123-QC",
    "tech-pfm-auth-profile":  "1.0.200221.000717-QC-147",
    "tech-mfm-sms-profile":  "2.20.210902.220256-QC",
    "tech-mfm-ssomw-profile":  "1.0.210201.164503-pst-testcc",
    "tech-postman-mw":  "2.11.211028.132558-QC",
    "tech-mfm-securestore-mw":  "1.0.210129.153125-QC-147",
    "tech-mfm-depositanytime-profile":  "1.0.211005.222412-QC",
    "tech-mfm-ssomw":  "2.9.211123.124123-QC",
    "tech-mfm-balancetransfer-admintool":  "2.8.210913.133046-QC",
    "tech-mfm-xbea-mw":  "2.6.211122.165107-R",
    "tech-ofmweb":  "5.0.1498",
    "tech-mfm-balancetransfer":  "2.7.210913.132357-QC",
    "tech-mfm-rdc-mw":  "2.9.211123.124123-QC",
    "tech-talos-tenant":  "1.14.211011.1465",
    "tech-mfm-mobileenrollment-profile":  "1.0.210714.165639-QC",
    "tech-mfm-cardcontrolV3-profile":  "3.7.210607.103153-chumak",
    "tech-mfm-cardcontrolV3-reporting":  "3.8.210909.065134-QC",
    "tech-mfm-xbea-profile":  "1.0.211123.074831",
    "tech-ofm-sms-profile":  "2.21.200617.124217-QC-147",
    "tech-mfm-sms-gatewayservice":  "2.20.210902.220256-QC",
    "tech-ofm-mfm-cumulative-deployment":  "3.42.211130.115132-QC-738",
    "tech-mfm-mobileenrollment-mw":  "2.15.210827.095517-QC",
    "tech-mfm-xbea-ws":  "2.6.211122.165107-R",
    "tech-ofmat":  "5.0.700",
    "tech-postman-profile":  "2.11.211028.140112-QC",
    "tech-mfm-cardcontrolV3-mw":  "3.8.210909.065134-QC",
    "tech-pfm-auth-mw":  "1.5.1-b115-QC-147",
    "tech-mfm-accountselector-mw":  "1.5.170607.132441-QC-147",
    "tech-ofm-transportservice-profile":  "1.0.31.180411-QC-147",
    "tech-mfm-ofxserver-billpay":  "3.4.2.600",
    "tech-mfm-wap-profile":  "1.0.210604.001516-QC"
}
"""

new JsonSlurper().parseText(jsonContent)