In wheat straw based composting, enabling growth of Agaricus bisporus mushrooms, it is unknown to which extent the carbohydrate-lignin matrix changes and how much is metabolized. In this paper we report yields and remaining structures of the major components. During the Phase II of composting 50% of both xylan and cellulose were metabolized by microbial activity, while lignin structures were unaltered. During A. bisporus' mycelium growth (Phase III) carbohydrates were only slightly consumed and xylan was found to be partially degraded. At the same time, lignin was metabolized for 45% based on pyrolysis GC/MS. Remaining lignin was found to be modified by an increase in the ratio of syringyl (S) to guaiacyl (G) units from 0.5 to 0.7 during mycelium growth, while fewer decorations on the phenolic skeleton of both S and G units remained.