json>moxfield-deck ( json -- mtga-deck )


Vocabulary
scryfall

Inputs
jsonan object


Outputs
mtga-deckan object


Definition


: json>moxfield-deck ( json -- mtga-deck )
[ "name" of ] [
"boards" of
[ "mainboard" of moxfield-board>cards ]
[ "sideboard" of moxfield-board>cards ] bi
] bi <moxfield-deck> ;