(data, format3)
| 109096 | return typeof Buffer === "function" && (0, _vegaUtil.isFunction)(Buffer.isBuffer) ? Buffer.isBuffer(_) : false; |
| 109097 | } |
| 109098 | function json(data, format3) { |
| 109099 | const prop = format3 && format3.property ? (0, _vegaUtil.field)(format3.property) : (0, _vegaUtil.identity); |
| 109100 | return (0, _vegaUtil.isObject)(data) && !isBuffer(data) ? parseJSON(prop(data), format3) : prop(JSON.parse(data)); |
| 109101 | } |
| 109102 | json.responseType = "json"; |
| 109103 | function parseJSON(data, format4) { |
| 109104 | if (!(0, _vegaUtil.isArray)(data) && (0, _vegaUtil.isIterable)(data)) data = [ |
no test coverage detected