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

Accessing "root" field from a JSON array

$
0
0

Hi,
If my schema is something like:

name: 'a',
details: {
detail1: 'b',
detail2: 'c',
}

and i want "details.detail2" to take the value from "name", how can I do that?

thanks!


Viewing all articles
Browse latest Browse all 2665