private void OnDeserialize()
        {
            animalRegister = JsonProcessor.Deserialize <AnimalRegister>(txtJson.text);
            UpdateLog();

            btnSerialize.interactable = animalRegister != null;
        }
        private void OnLoadAsset()
        {
            animalRegister = JsonProcessor.Deserialize <AnimalRegister>(jsonAsset.text);
            UpdateLog();
            txtJson.text = jsonAsset.text;

            btnSerialize.interactable   = animalRegister != null;
            btnDeserialize.interactable = !string.IsNullOrWhiteSpace(txtJson.text);
        }
    private void Start()
    {
        List <TestEnum> enums = new List <TestEnum>
        {
            TestEnum.FIRST,
            TestEnum.SECOND,
            TestEnum.LAST
        };

        string jsonValue = JsonProcessor.Serialize(enums);

        Log.Info(jsonValue);

        List <TestEnum> result = JsonProcessor.Deserialize <List <TestEnum> >(jsonValue);

        Log.Info("Lists are equal: {0}", enums.SequenceEqual(result));
    }