jq
jq copied to clipboard
How to access object properties containing special characters?
Hi, I would like to know how can I access #text using jq.
{
"#text": "Bullet for My Valentine",
"mbid": "d530dbf9-69b1-404f-98f2-0431104f5a1e"
}
@vigliensoni
Hi, this problem have nothing to do with jq. just use javascript is ok.
const a = {'#1': 1}; console.log(a['#1']); // log 1