[][src]Module artifact_serde::de

Structs

DeserializedCard
DeserializedDeck
DeserializedHero

Functions

decode

Takes in an Artifact Deck Code as a &str and returns a DeserializedDeck matching the structure refer to deck_decoder.php for reference implementation and expected structure here

map_card_ids_to_cards

Takes in a vector of JSON formatted &str and attempts to coerce them into CardSetJson, if successful, maps card_ids to Cards.
The JSON should take the form mentioned here or: