Exemple #1
0
 protected override OuterT ToOuter(string innerV)
 {
     if (!string.IsNullOrEmpty(innerV))
     {
         return(JsonUtilityEx.FromJson <OuterT>(innerV));
     }
     return(default);
Exemple #2
0
        protected override string ToInner(OuterT outerV)
        {
            if (outerV == null)
            {
                return("");
            }

            return(JsonUtilityEx.ToJson(outerV));
        }