我该如何解决这个 JSONObject 问题

How do i resolve this JSONObject issue

我正在关注一篇关于在 unity3d 中使用 Web 服务的文章。我完全是初学者,不熟悉网络服务,但我对它的工作原理有基本的了解。

我试过使用 JsonUtiltiy 库,但里面也没有 JSONObject 的功能。

here is the article i am following

我遇到的错误列表

JSONObject 不是 class 在统一编辑器中实现的。
要使用它,您需要在您的项目(资产文件夹)中下载它的实现。

article you reported 中所述,可以在 Unity Wiki 中找到 JSONObject。

I started off bringing down a JSON-reading implementation for their Wiki (be sure to add the Nullable class definition, listed further down the page)

我看到文章上的 link 已经死了,但是你可以在下面的 link 找到他提到的资产。

Asset Store
下载并导入 从 github repository

下载并导入

您需要导入它们并在您的项目中使用。