This is simple posts result array.
$query = new WP_Query( array( 'post_type' => 'post' ) );
$posts = $query->posts; // returns simple array of data
Is there a way to get the results from wp-json/wp/v2/posts/?_embed without making extra request to server to pull json and then decode to php array?
Looking for something like that:
$posts = $query->rest_posts(); // for example ??