<?php

namespace WPDeskKSEFVendor\WPDesk\Forms\Serializer;

use WPDeskKSEFVendor\WPDesk\Forms\Serializer;
class JsonSerializer implements Serializer
{
    public function serialize($value)
    {
        return json_encode($value);
    }
    public function unserialize($value)
    {
        return json_decode($value, \true);
    }
}
