package utils

import (
    "github.com/techleeone/gophp/serialize"
)

func Serialize(data interface{}) ([]byte,error) {
    return serialize.Marshal(data)
}

func Unserialize(data []byte) (interface{},error) {
    return serialize.UnMarshal(data)
}