When you call wg() that way the json is parsed once and cached so you can safely use the same url in as many lines as you want without any performance decrease. Also json path query is cached in case you use it more than once in the same preset.
Wg will download the content again only when network timeout has been reached (as per app settings) and remote content is expired (as per http cache headers).