This is a static library to encode objects to JSON, and decode them back.