-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nested arrays? #8
Comments
Can you post an example of your json? |
sure:
and so on.. im just able to access the keys like "ident", "brand" etc.. but not actually the keys "kind" or "update_date_time" EDIT: i know theres a fuel model, but the accessed api just provides very less fuel types ;) |
Was thinking about the same issue. Use case to include stripe api events... (sample data) Would be cool to loop on row 1:
row 2:
...etc Totally understand if this is out of scope. 🤓 Cool project by the way! {
"object": "list",
"data": [
{
"id": "evt_1FdnExFVjAtnqiQsq4RMsFoI",
"object": "event",
"api_version": "2019-05-16",
"created": 1573518495,
"data": {
"object": {
"object": "balance",
"available": [
{
"amount": 0,
"currency": "usd",
"source_types": {
"card": 0
}
}
],
"livemode": false,
"pending": [
{
"amount": 0,
"currency": "usd",
"source_types": {
"card": 0
}
}
]
}
},
"livemode": false,
"pending_webhooks": 0,
"request": {
"id": null,
"idempotency_key": null
},
"type": "balance.available"
},
{
"id": "evt_1FdRxvFVjAtnqiQsGEQDdtm2",
"object": "event",
"api_version": "2019-05-16",
"created": 1573436715,
"data": {
"object": {
"id": "po_1FdRxQFVjAtnqiQsZAgVfVEP",
"object": "payout",
"amount": 8649,
"arrival_date": 1573516800,
"automatic": true,
"balance_transaction": "txn_1FdRxQFVjAtnqiQsQLwU9H3x",
"created": 1573436684,
"currency": "usd",
"description": "STRIPE PAYOUT",
"destination": "ba_1EjUq6FVjAtnqiQsJOs9hst3",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {
},
"method": "standard",
"source_type": "card",
"statement_descriptor": null,
"status": "in_transit",
"type": "bank_account"
}
},
"livemode": false,
"pending_webhooks": 0,
"request": {
"id": null,
"idempotency_key": null
},
"type": "payout.paid"
},
{
"id": "evt_1FdRxuFVjAtnqiQs6rcxDIkX",
"object": "event",
"api_version": "2019-05-16",
"created": 1573436714,
"data": {
"object": {
"id": "po_1FdRxQFVjAtnqiQsZAgVfVEP",
"object": "payout",
"amount": 8649,
"arrival_date": 1573516800,
"automatic": true,
"balance_transaction": "txn_1FdRxQFVjAtnqiQsQLwU9H3x",
"created": 1573436684,
"currency": "usd",
"description": "STRIPE PAYOUT",
"destination": "ba_1EjUq6FVjAtnqiQsJOs9hst3",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {
},
"method": "standard",
"source_type": "card",
"statement_descriptor": null,
"status": "in_transit",
"type": "bank_account"
}
},
"livemode": false,
"pending_webhooks": 0,
"request": {
"id": null,
"idempotency_key": null
},
"type": "payout.created"
}
],
"has_more": true,
"url": "/v1/events"
} |
Hi,
would it be possible to extend the module with the feature of handling nested arrays?
actually after parsing i get a (object Object) even if i point to the right key :/
thank you!
The text was updated successfully, but these errors were encountered: