public static string CompileFromJson(string json, string defaultNamespace) { var compiler = new TLSchemaCompiler(defaultNamespace); TLSchema schema = compiler.GetTLSchemaFromJson(json); return(compiler.Compile(schema)); }
public static string CompileFromJson(string json, string defaultNamespace) { var compiler = new TLSchemaCompiler(defaultNamespace); TLSchema schema = compiler.GetTLSchemaFromJson(json); return(compiler.Compile(schema)); }