You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jonathan Miller 00e4582c08 Plugins system 3 years ago
..
Documentation~ Plugins system 3 years ago
Runtime Plugins system 3 years ago
Tests Plugins system 3 years ago
.gitattributes Plugins system 3 years ago
CHANGELOG.md Plugins system 3 years ago
CHANGELOG.md.meta Plugins system 3 years ago
LICENSE.md Plugins system 3 years ago
LICENSE.md.meta Plugins system 3 years ago
README.md Plugins system 3 years ago
README.md.meta Plugins system 3 years ago
Runtime.meta Plugins system 3 years ago
Tests.meta Plugins system 3 years ago
Third Party Notices.md Plugins system 3 years ago
Third Party Notices.md.meta Plugins system 3 years ago
link.xml Plugins system 3 years ago
link.xml.meta Plugins system 3 years ago
package.json Plugins system 3 years ago
package.json.meta Plugins system 3 years ago

README.md

com.unity.nuget.newtonsoft-json

Unity Package for [Newtonsoft's JSON library] (https://www.newtonsoft.com/json)

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.