private static JToken SerializeRef(Ref reference)
 {
     var result = new JObject();
     result["$type"] = "ref";
     result["value"] = new JArray(reference.AsRef().Select(SerializationHelper.SerializeItem).ToList());
     return result;
 }
Example #2
0
        private static JToken SerializeRef(Ref reference)
        {
            var result = new JObject();

            result["$type"] = "ref";
            result["value"] = new JArray(reference.AsRef().Select(SerializeItem).ToList());
            return(result);
        }