harmony-jolt 0.6.0

JSON to JSON transformation library using the JOLT spec
Documentation
{
    "input": {
        "splitMe" : "split me",

        "string": "the QuIcK brOwn fox",

        "intputMapShouldNotSplit" : { "a" : "b" }
    },

    "spec": {
        "splitMe" : "=split(' ',@(1,splitMe))",
        "split": {
            "single": "=split(',', @(2,string))",
            "multiple": "=split(' ', @(2,string))",
            "regex": "=split('[Oo]', @(2,string))",
            "regex2": "=split('\\s+', @(2,string))"
        },
        "intputMapShouldNotSplit" : "=split('=', @(1,intputMapShouldNotSplit))"
    },

    "context": {
    },

    "OVERWRITR": {
        "string": "the QuIcK brOwn fox",

        "splitMe" : [ "split",  "me" ],

        "split": {
            "single": [
                "the QuIcK brOwn fox"
            ],
            "multiple": [
                "the",
                "QuIcK",
                "brOwn",
                "fox"
            ],
            "regex": [
                "the QuIcK br",
                "wn f",
                "x"
            ],
            "regex2": [
                "the",
                "QuIcK",
                "brOwn",
                "fox"
            ]
        },

        "intputMapShouldNotSplit" : { "a" : "b" }
    }
}