我有一个具有多个值的数据属性。我将如何从中获得一个价值?
<div data-url='{"header-url" : "src/one.html","footer-url" : "src/two.html","content-url" : "src/three.html"}'></div>
$(document).ready(function() {
var headerContent = $('div').attr('data-url');
console.log(headerContent)
});