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

            return(JsonUtilityEx.ToJson(outerV));
        }