Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Error getting a value from a nested JSON array

$
0
0

Figured this one out, instead of:

values[0]['type']

you have to do:

field('values')[0]['type']


Viewing all articles
Browse latest Browse all 2665

Trending Articles