harmony-jolt 0.7.0

JSON to JSON transformation library using the JOLT spec
Documentation
{
  "input": {
    "_id": "5973782bdb9a930533b05cb2",
    "isActive": true,
    "balance": "$1,446.35",
    "age": 32,
    "eyeColor": "green",
    "name": "John Smith",
    "gender": "male",
    "company": "Comp",
    "email": "test@testmail.com",
    "phone": "+1 (952) 533-0000",
    "friends": [
      {
        "id": 0,
        "name": "Colon Salazar"
      },
      {
        "id": 1,
        "name": "French Mcneil"
      },
      {
        "id": 2,
        "name": "Carol Martin"
      }
    ],
    "favoriteFruit": "banana"
  },
  "spec": [
    {
      "operation": "remove",
      "spec": {
        "_id": "",
        "friends": "",
        "favoriteFruit": ""
      }
    },
    {
      "operation": "shift",
      "spec": {
        "name|gender|age": "personal_details.&",
        "company|email|phone": "contacts.&",
        "balance": "balance"
      }
    },
    {
      "operation": "default",
      "spec": {
        "account_type": "CHECKING"
      }
    }
  ],
  "expected": {
    "account_type": "CHECKING",
    "balance": "$1,446.35",
    "contacts": {
      "company": "Comp",
      "email": "test@testmail.com",
      "phone": "+1 (952) 533-0000"
    },
    "personal_details": {
      "name": "John Smith",
      "gender": "male",
      "age": 32
    }
  }
}