public Dictionary <string, object> ToDictionary()
        {
            if (_value == null)
            {
                return(new Dictionary <string, object>());
            }

            return(GenxyConverter.Deserialize(_value));
        }
        public static GenxyString FromDictionary(IDictionary <string, object> dictionary)
        {
            if (dictionary.IsNullOrEmpty())
            {
                return(Empty);
            }

            var str = GenxyConverter.Serialize(dictionary);

            return(new GenxyString(str));
        }