Hi all
Earlier on i used a script for extracting JSON data into the macro view. I need something along these lines; [{“name”: “A”, “unicode”: “0041”}, and on and on we go. Normally I’m very savvy at finding these things again, but it’s completely gone.
Hope someone can help me
you can use
glyph.propertyListValueFormat_(3)
is that useful?
Honestly i’m not a script builder at all, so I don’t know how to use this. All i know is someone made a script like this a few years ago and had it posted on their github but now it’s gone.
What are you trying to do with this?
It’s for my foundry site, where the JSON dictates which glyphs are for show on the website glyph-overview. The script would previously just send out all the selected glyphs comma seperated like the example on top.
Where did you get the script from?
Most likely github. I’ve scoured through everything on the Glyphs forum but nothing so far.
But if you only need the name and the Unicode, it is fairly straightforward to write yourself. A perfect opportunity to learn some python 
Haha i wish i had the patience — sometimes i wonder why i find it easier to create hangul than learning a script.
I found the script by the text image search on the spotlight. Here’s what i have, but glyphs app is complaining;
import array, json
glyphs = [ ]
for (i,g) in enumerate(Glyphs.font.glyphs):
glyphs. append({
'name': g. name,
'category': g. category,
'subCategory': g.subCategory,
'unicode': g.unicode
})
print json.dumps (glyphs)
I just solved it! Thanks anyhow Georg