protected static void PrintObject(object obj)
 {
     var converter = new ByteArrayAsStringConverter();
     Console.WriteLine("Object: {0}", JsonConvert.SerializeObject(obj, converter));
 }
示例#2
0
        protected static void PrintObject(object obj)
        {
            var converter = new ByteArrayAsStringConverter();

            Console.WriteLine("Object: {0}", JsonConvert.SerializeObject(obj, converter));
        }