コード例 #1
0
        public static string SerializeChangedTrackersWithPath(
            this ITrackable trackable,
            JsonSerializerSettings jsonSerializerSettings)
        {
            var pathToChangeMap = trackable.GetChangedTrackersWithPath().ToDictionary(x => x.Key, x => x.Value);

            return(JsonConvert.SerializeObject(pathToChangeMap, jsonSerializerSettings));
        }