jeudi 9 avril 2020

Randomly select a credit card from json

I have the following cardInfo.json that I made and I want to use node.js to randomly select the card and its information and store it in variables.

{
"card1": {
    "cardNumber": "",
    "cvv": "",
    "expMonth":"",
    "expDay":"",
    "name":""
    }
},
"card2": {
    "cardNumber": "",
    "cvv": "",
    "expMonth":"",
    "expDay":"",
    "name":""
    }
}



Aucun commentaire:

Enregistrer un commentaire