Example #1
0
            static FormatterCache()
            {
                var f = TestEditorAssemblyResolverGetFormatterHelper.GetFormatter(typeof(T));

                if (f != null)
                {
                    formatter = (global::Utf8Json.IJsonFormatter <T>)f;
                }
            }
Example #2
0
 public IJsonFormatter GetFormatter(Type type)
 {
     return((IJsonFormatter)TestEditorAssemblyResolverGetFormatterHelper.GetFormatter(type));
 }