Try using the native WP function update_post_meta instead, unless you’re sure ACF has loaded at the time you’re trying to use the function:
update_post_meta( $postid, ‘ReleaseY’, $json->Year );
Reference: https://developer.wordpress.org/reference/functions/update_post_meta/