Patent 11178212 was granted and assigned to Facebook on November, 2021 by the United States Patent and Trademark Office.
Various of the present embodiments convert structured data to a channel-based representation facilitating pattern recognition by a compression utility. The channels may include a key channel, a number channel, a type channel, a length channel, etc. These channels reflect the same information as the structured data, but reorganized based upon the structured data's hierarchic structure. The encoder and decoder may include rule sets specifying the relations between the channels to deconstruct/construct the JSON file. Memoization, length encoding, and type encoding extensions may also be applied as part of the encoding/decoding process to further improve compression.