<reponame>CalixBarrus/GP-Demo<filename>gp_framework/serializer.py
import jsonpickle


def serialize(obj: any) -> str:
    return jsonpickle.encode(obj)


def deserialize(json_string: str) -> any:
    return jsonpickle.decode(json_string)

import jsonpickle


def serialize(obj: any) -> str:
    return jsonpickle.encode(obj)


def deserialize(json_string: str) -> any:
    return jsonpickle.decode(json_string)