[][src]Crate artifact_serde

artifact_serde

This is a small crate to handle deseralizing and serializing Artifact Deck Codes.
See this link for reference implementation: link
Most structs in this crate will mimic the JSON structure provided by Valve, either by API or base64 encoding.

Modules

de
ser

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

encode

Takes in a mutable reference to a DeserializedDeck returns the corresponding Artifact Deck Code refer to deck_encoder.php for reference implementation here