Expand description
JSON payload schema for shipping Best-in-Bag and Droptimizer results to a WoW addon.
Structs§
- Decode
Export Error - Errors raised by
decode_result_export. - Encode
Export Error - Errors raised by
encode_result_export. - Result
Export - Top-level wowlab to addon export envelope (the inner JSON of a parcel).
- Result
Item - A single exported item row, carrying enough identity to reconstruct a
WoWitem:link.
Enums§
- Decode
Export 🔒Error Kind - Encode
Export 🔒Error Kind - Export
Kind - What kind of result is being exported.
Constants§
- RESULT_
EXPORT_ CONTENT_ TYPE - Content-type token used inside the envelope.
- RESULT_
EXPORT_ PREFIX - Wire-format prefix for the result export envelope; trailing digit is the version.
- RESULT_
EXPORT_ SCHEMA_ VERSION - Schema version embedded in the JSON payload, distinct from the wire prefix version.
Functions§
- decode_
result_ export - Inverse of
encode_result_export. - encode_
result_ export - Serialise
exportto JSON and wrap it in a parcel envelope as a single ASCII string. - result_
export_ codec - Build a codec preconfigured for wowlab result exports.