12.0.101 • Public • Published

Stan's Assets mirror of Newtonsoft.Json for Unity

Package exists because Unity package manager does not allow depdncinses in packages in The original repo can be found here

Json.NET is a popular high-performance JSON framework for .NET

This package is a fork of Newtonsoft.Json containing custom builds targeting standalone, portable (UWP, WP8), and AOT targets such as all IL2CPP builds (iOS, WebGL, Android, Windows, Mac OS X,

Versioning format

Staying with JamesNK's version syntax, but with a twist 💫

Based off JamesNK's versioning, but with the addition of two digits on the last segment. This is for Newtonsoft.Json-for-Unity to be able to have independent releases, at the same time still being easy to see which version of Json.NET it's based of.

![explanation of version][version-explanation.png]

Where official Json.NET 12.0.1 becomes Newtonsoft.Json-for-Unity 12.0.1_xx_.


Please see the [][] file inside this package.

Install from NPM

  • Navigate to the Packages directory of your project.
  • Adjust the project manifest file manifest.json in a text editor.
  • Ensure is part of scopedRegistries.
    • Ensure com.stansassets is part of scopes.
    • Add com.stansassets.newtonjson to the dependencies, stating the latest version.

A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version which is currently NPM Package.

  "scopedRegistries": [
      "name": "npmjs",
      "url": "",
      "scopes": [
  "dependencies": {
    "com.stansassets.newtonjson: "X.Y.Z",
  • Switch back to the Unity software and wait for it to finish importing the added package.

Install from OpenUPM

  • Install openupm-cli npm install -g openupm-cli or yarn global add openupm-cli
  • Enter your unity project folder cd <YOUR_UNITY_PROJECT_FOLDER>
  • Install package openupm add com.stansassets.newtonjson

Install from a Git URL

Yoy can also install this package via Git URL. To load a package from a Git URL:

  • Open Unity Package Manager window.
  • Click the add + button in the status bar.
  • The options for adding packages appear.
  • Select Add package from git URL from the add menu. A text box and an Add button appear.
  • Enter the Git URL in the text box and click Add.
  • You may also install a specific package version by using the URL with the specified version.
    • Please note that the version X.Y.Z stated here is to be replaced with the version you would like to get.
    • You can find all the available releases here.
    • The latest available release version is Last Release

For more information about what protocols Unity supports, see Git URLs.

This package is licensed under The MIT License (MIT)

Copyright (c) 2019 Kalle Jillheden (jilleJr)

See full copyrights in [][] inside repository


npm i com.stansassets.newtonjson

DownloadsWeekly Downloads






Unpacked Size

4.78 MB

Total Files


Last publish


  • stan-osipov