Beispiel #1
0
        private static string ToActual(JsonPatchBuilder builder)
        {
            var withSpaces = builder.ToString();
            var crunched   = String.Concat(withSpaces.Where(character => !Char.IsWhiteSpace(character)));

            return(crunched);
        }
Beispiel #2
0
 private void AssertJsonContains(JsonPatchBuilder builder, JToken item)
 => AssertJsonContains(JArray.Parse(builder.ToString()), item);