Beispiel #1
0
        internal static DeSerializeResult DeSerializeNotEmpty <valueType>(string json, ref valueType value, DeSerializeConfig config = null)
        {
            JsonDeSerializer deSerializer = YieldPool.Default.Pop() ?? new JsonDeSerializer();

            try
            {
                return(deSerializer.deSerialize <valueType>(json, ref value, config));
            }
            finally { deSerializer.Free(); }
        }
Beispiel #2
0
 protected override void deSerializeParameter(AutoCSer.JsonDeSerializer parser)
 {
     base.deSerializeParameter(parser, ref value);
 }