/flatpack

Flatten complex circular Go datastructures for easier serialization

Primary LanguageGoApache License 2.0Apache-2.0

flatpack

A Go utilitity to to convert arbitrary Go data, possibly including unexported fields and shared and/or cyclic substructure, into (and back from) a purely tree-structured datastructure without unexported fields that can be serialised using encoding.json or the like.

GoDoc

See full documentation on godoc.org

This was forked (with history, but minus all unrelated parts of the project) from the CodeCity project when that project abandoned development in Go.