Exemple #1
0
 public Deserialize()
 {
     _nucleusDeserializer = FastJsonSerializerFactory.CreateDeserializer <Person>(DefaultNameResolver.Instance, FastJsonConcurrencyMode.SingleThreaded);
     _jsonDeserializer    = Newtonsoft.Json.JsonSerializer.CreateDefault();
     _json = "{ \"Name\": \"Bart\", \"Age\": 21 }";
 }
 public Deserializer()
 {
     _deserializer = FastJsonSerializerFactory.CreateDeserializer <T>(NameResolver.Instance, FastJsonConcurrencyMode.ThreadSafe);
 }