Пример #1
0
        private Decoders()
        {
            I        = this;
            decoders = new Dictionary <Type, Dictionary <string, DecoderCreateHandler> >();

            JsonDecoder.RegisterDecoder();
        }
 public static void RegisterDecoder()
 {
     Decoders.AddDecoder <JObject>("{", (header) => {
         var decoder = new JsonDecoder()
         {
             header = header
         };
         return(decoder);
     });
 }