匹配来自JSON的链接

匹配来自JSON的链接,json,regex,string,match,nodejs,Json,Regex,String,Match,Nodejs,我有这根绳子 {"videoID":"10156327104658120", "playerFormat":"inline", "playerOrigin":"newsfeed", "external_log_id":null, "external_log_type":null, "rootID":"10156327104658120", "playerSuborigin":"misc", "canUseOffline":null, "playOnClick":true, "videoDebug

我有这根绳子

{"videoID":"10156327104658120",
"playerFormat":"inline",
"playerOrigin":"newsfeed",
"external_log_id":null,
"external_log_type":null,
"rootID":"10156327104658120",
"playerSuborigin":"misc",
"canUseOffline":null,
"playOnClick":true,
"videoDebuggerEnabled":false,
"videoPlayerVisibilityBehavior":"2",
"videoViewabilityLoggingEnabled":false,
"videoViewabilityLoggingPollingRate":-1,
"videoPlayerPauseWhenBlur":false,
"videoScrollUseLowThrottleRate":true,
"playInFullScreen":false,
"type":"video",
"src":"https:\/\/video-frx5-1.xx.fbcdn.net\/v\/t42.1790-2\/28100902_1709246409132048_3547885085212540928_n.mp4?efg=eyJybHIiOjMwMCwicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0\u00253D&oh=5ca37733bd3004fe2591152502e63def&oe=5A84637D","width":340,"height":340,"trackingNodes":"FH-R",
"downloadResources":null,
"subtitlesSrc":null,
"spherical":false,
"sphericalParams":null,
"animatedGifVideo":false,
"defaultQuality":null,
"availableQualities":null,
"playStartSec":null,
"playEndSec":null,
"playMuted":null,"disableVideoControls":false,"loop":false}
如何匹配“src”键的值。

示例使用:


JSON.parse()?JS?贝壳?非常感谢!!现在我可以从对象中得到
> var o = '{ "x": "foobar" }'
undefined
> var j = JSON.parse(o)
undefined
> j
{ x: 'foobar' }
> console.log(j.x)
foobar