blob: 13bc2213b82f5ac00b1ae0a36611f748411fad4c (
plain)
1
2
3
4
5
6
|
.[] |
{romaji: .romaji, text: .alternatives[0].text} + (
.alternatives[0] |
(select(has("definitions")) | {def: .definitions[0]}),
(select(has("conjugations")) | .conjugations[0] | {form: .form} + (.alternatives[0] | {text, def: .definitions[0]}))
)
|