zhangwenjie 121a338d00 feat: 项目源码 1 gadu atpakaļ
..
Documentation~ 121a338d00 feat: 项目源码 1 gadu atpakaļ
Runtime 121a338d00 feat: 项目源码 1 gadu atpakaļ
Tests 121a338d00 feat: 项目源码 1 gadu atpakaļ
.gitattributes 121a338d00 feat: 项目源码 1 gadu atpakaļ
CHANGELOG.md 121a338d00 feat: 项目源码 1 gadu atpakaļ
CHANGELOG.md.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
LICENSE.md 121a338d00 feat: 项目源码 1 gadu atpakaļ
LICENSE.md.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
README.md 121a338d00 feat: 项目源码 1 gadu atpakaļ
README.md.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
Runtime.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
Tests.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
Third Party Notices.md 121a338d00 feat: 项目源码 1 gadu atpakaļ
Third Party Notices.md.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
link.xml 121a338d00 feat: 项目源码 1 gadu atpakaļ
link.xml.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ
package.json 121a338d00 feat: 项目源码 1 gadu atpakaļ
package.json.meta 121a338d00 feat: 项目源码 1 gadu atpakaļ

README.md

com.unity.nuget.newtonsoft-json

Unity Package for Newtonsoft's JSON library

Version

This package includes the DLL version of JSON.Net

Version: 12.0.301

Add to your project with git url (2019.3+)

Open the manifest.json for your project and add the following entry to your list of dependencies

"com.unity.nuget.newtonsoft-json": "git@github.cds.internal.unity3d.com:unity/com.unity.nuget.newtonsoft-json.git",

Example:

{
  "dependencies": {
    "com.unity.nuget.newtonsoft-json": "git@github.cds.internal.unity3d.com:unity/com.unity.nuget.newtonsoft-json.git",
    "com.unity.ads": "2.0.8",
    "com.unity.analytics": "3.2.2",
    "com.unity.collab-proxy": "1.2.15",
    ...
    }
 }

Add to your project with version

Open the manifest.json for your project and add the following entry to your list of dependencies with the desired version

"com.unity.nuget.newtonsoft-json": "1.1.2",

Example:

{
  "dependencies": {
    "com.unity.nuget.newtonsoft-json": "1.1.2",
    "com.unity.ads": "2.0.8",
    "com.unity.analytics": "3.2.2",
    "com.unity.collab-proxy": "1.2.15",
    ...
    }
 }

# Add to your Package as a dependency

Open the package.json for your project and add the following entry to the dependencies list with the desired Version

"com.unity.nuget.newtonsoft-json": "1.1.2"

Example:

 "dependencies": {
		"com.unity.nuget.newtonsoft-json": "1.1.2"
	},

Using the package

In the target package, modify the asmdef to include the Newtonsoft.Json.dll under the Assembly References section in the asmdef inspector. The section will not appear until the Override References toggle above is toggled on. Once that is done, your package will have full access to Newtonsoft Json apis.