Serpent provides Python ast.literal_eval() compatible object tree serialization. It serializes an object tree into bytes that can be transferred to Python and decoded there (using ast.literal_eval()). It can ofcourse also deserialize such a Python expression itself, back into the equivalent .NET datatypes. More info for the Python version is on Pypi: https://pypi.python.org/pypi/serpent
$ dotnet add package Razorvine.SerpentNo README available.