首页 \ 问答 \ Rust中的JSON中的JsonNode(JsonNode in JSON in Rust)

Rust中的JSON中的JsonNode(JsonNode in JSON in Rust)

我浏览了Rust http://doc.rust-lang.org/serialize/json/的标准JSON库,但无法找出代表其中节点的内容。 在Java中它是JsonNode 。 什么是Rust? 例如,如何在Rust中传递JsonNode类型的参数?


I ran through the standard JSON library of Rust http://doc.rust-lang.org/serialize/json/ and couldn't figure out what represents a node in it. In Java it's JsonNode. What's it in Rust? For example, how can I pass an argument of the type JsonNode in Rust?


原文:
更新时间:2022-03-22 10:03

最满意答案

您是否有对Word对象库的引用? 如果没有,那么宏将失败,因为您正在使用该库中找到的特定项目(如wdOpenFormatAuto )。

要添加对库的引用,请在excel VBA编辑器中单击工具>引用并向下滚动,直到找到“Micrsoft Word对象库”,单击左侧的框以“检查”并单击“确定”。 将有一个与之关联的版本号...自运行Office 2010以来可能是14.0。

添加该引用,这应该可以解决您的问题。

如果您已经拥有该套装,请告诉我们。


Do you have a reference set to the Word object library? If not, then the macro will fail because you are using specific items found in that library ( like wdOpenFormatAuto).

To add a reference to the library, in the excel VBA editor click on Tools>References and scroll down until you find "Micrsoft Word Object Library", click the box to the left to 'check it' and click 'OK'. There will be a version number associated with it... probably 14.0 since you are running Office 2010.

Add that reference and that should fix your problem.

If you already have that set, let us know.

相关问答

更多
  • 这个问题现在已经解决了。 这是由于电子邮件保存到具有特殊权限的文件夹。 The issue is now resolved. It was due to the folder the emails saving to having special permissions.
  • 编辑 在单步执行代码时没有出现错误的事实表明,在粘贴对象之前可能需要更多的时间。 我们可以尝试调用另一个将会延迟数秒的过程,同时调用DoEvents函数。 因此,首先将下面的宏复制到你的模块中... Sub Delay(Optional ByVal Secs As Integer = 3) Dim sngStartTime As Single sngStartTime = Timer Do Until Timer > sngStartTime + Secs D ...
  • 您可以使用Word和Excel自动化 ,使用Visual Basic 6(通过COM ),VB .Net(通过interop )或C#(通过interop )等语言来完成此interop ,例如从数据库获取数据。 在你的情况下,因为你只是想创建一个基于Excel数据的文档,最简单的方法是使用MS Word 邮件的合并向导 。 看看: http : //office.microsoft.com/en-us/excel-help/print-labels-by-using-excel-data-in-a--wo ...
  • 您最好的选择是将这些旧的.dot文件转换为较新的.dotx格式。 如果这不可行,请尝试在Word选项/信任中心/文件阻止设置中取消阻止这些旧格式 请参阅http://answers.microsoft.com/en-us/office/forum/office_2016-word/word-2016-cannot-open-documents-with-doc/bf12fa10-4e28-4a6b-99b2-d42c1aa8cb4b/ 您可能还需要将G:设置为受信任位置(我假设这是一个网络驱动器)。 You ...
  • 传递超过65536个值作为VLookup函数中的第一个参数似乎存在问题。 所以这行代码将失败: Range("L2:L80000").Value = Application.WorksheetFunction.VLookup(Range("A2:A80000").Value, Range("B:J"), 8, False) 但只传递一个Range(并允许VLookup访问默认的Value属性)是可以的,所以下面的代码行将起作用: Range("L2:L80000").Value = Application ...
  • 你有没有参考Word库(代码窗口 - >工具 - >参考)? 如果不是,您将需要使用内置常量的值,如wdOpenFormatAuto 编辑重新评论 由于你有一个文本文件,我不相信你的类型是正确的。 试试像这样: ''To create output, if required ''DoCmd.TransferText acExportDelim, , "qryMailMerge", strExportFullyQualifiedName, True With objWordDoc .MailMe ...
  • 错误9表示下标超出范围,即工作簿/工作表中不存在您引用的对象。 确保工作簿中有一个名为“BASE_GERAL_FUNCIONARIOS”的工作表,并且在该工作表上有一个名为“BASE_GERAL_FUNCIONARIOS”的excel表。 除此之外,正确的语法将是这样的... Worksheets("BASE_GERAL_FUNCIONARIOS").ListObjects("BASE_GERAL_FUNCIONARIOS").ListRows.Add 同样的方式,第二条线就像这样...... Set Ex ...
  • 设置名称的三个想法可能会失败: 您的工作簿中是否已有一张带有该名称的工作表? 尝试设置已在使用的名称将导致'1004' 也许您尝试设置的名称包含一些非法字符: : / \ * ? [ ] : / \ * ? [ ]是不允许的 也不允许使用空字符串或超过31个字符的字符串 Three ideas why setting the name might fail: Do you already have a sheet with that name in your workbook? Trying to set ...
  • 您应该能够使用Application.Run来评估另一个工作簿中存在的函数。 格式是: Target.Value = Application.Run("PERSONAL.XLSB!Module2.Code128", Target.Value) 或者更一般地说: = Application.Run(workbookname$ & "!" & modulename & "." & functionname, args()) 除此之外,您可以在Book1中添加对Personal.xlb的引用 。 You sh ...
  • 您是否有对Word对象库的引用? 如果没有,那么宏将失败,因为您正在使用该库中找到的特定项目(如wdOpenFormatAuto )。 要添加对库的引用,请在excel VBA编辑器中单击工具>引用并向下滚动,直到找到“Micrsoft Word对象库”,单击左侧的框以“检查”并单击“确定”。 将有一个与之关联的版本号...自运行Office 2010以来可能是14.0。 添加该引用,这应该可以解决您的问题。 如果您已经拥有该套装,请告诉我们。 Do you have a reference set to ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。