https://kotlinlang.org logo
#kotson
Title
# kotson
c

carlbenson

10/05/2017, 3:59 PM
question: I have a
json
with the following structure
Copy code
{
  "marketId1": {
    "services": {
      "savings": true,
      "funds": true
    },
    "paymentMethod": "autogiro",
    "withdrawalMethod": "autogiro",
    "bankProvider": {
      "name": "bank1",
      "offersMarketing": false
    },
    "fundsProvider": {
      "name": "bank1 funds"
    },
    "onboarding": {
      "kyc": "embeddedInWebview",
      "strongAuth": "embeddedInWebview"
    },
    "strongAuthenticationMethod": {
      "name": "strongAuth1",
      "method": "externalApp",
      "externalAppURL": "scheme1://"
    }
  },
  "marketId2": {
    "services": {
      "savings": true
    },
    "paymentMethod": "debitCard",
    "withdrawalMethod": "bankAccount",
    "bankProvider": {
      "name": "bank2",
      "offersMarketing": false
    },
    "onboarding": {
      "kyc": "preOnboarding",
      "strongAuth": "preOnboarding"
    },
    "strongAuthenticationMethod": {
      "name": "strongAuth2",
      "method": "internalBrowser"
    }
  }
}