This commit is contained in:
地平线
2015-08-31 16:41:00 +08:00
parent e59ad937c8
commit b47b6a112f

View File

@@ -30,7 +30,7 @@ public class BsonTestMain {
final BsonConvert convert = BsonFactory.root().getConvert();
TestEntry2 entry = TestEntry2.create();
byte[] bytes = convert.convertTo(TestEntry.class, entry);
Utility.println(bytes);
Utility.println(null,bytes);
System.out.println(JsonFactory.root().getConvert().convertTo(entry));
TestEntry rs = convert.convertFrom(TestEntry.class, bytes);
System.out.println(rs.toString());