Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (com.kagekirin.unitymathematics.text.json.amalgamate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
unitymathematics.text.json amalgamated with its dependencies (com.kagekirin.unitymathematics.text.json.amalgamate) - 0.1.0
** Repacked from NuGet using NuGettier v0.4.16+c6c6e46794fb522e40cf28c5ceccabe0607359f5 **
System.Text.Json serializers for Unity.Mathematics types
This package also contains the following dependency assemblies:* UnityMathematics.NoDeps@1.3.2
Unity.Mathematics.Text.Json
This project provides JSON serialization for Unity.Mathematics types based on System.Text.Json.
⚡ tl;dr or I just want to fetch the correct dependency
dotnet CLI
dotnet add package UnityMathematics.Text.Json --version x.y.zPackageVersion in Directory.Packages.props
<ItemGroup>
<PackageVersion Include="UnityMathematics.Text.Json" Version="x.y.z" />
</ItemGroup>PackageReference in Project .csproj
<ItemGroup Label="dependencies">
<PackageReference Include="UnityMathematics.Text.Json" />
</ItemGroup>🔧 JSON Serializer usage
TBD once implementation is added.
🤝 Collaborate with My Project
PRs are welcome.
Please refer to COLLABORATION.md for more details.
📦 Package overview
Unity.Mathematics.Text.Json itself
This is the main package, supporting both array and object notation, at the expense of a slightly more convoluted design.
If your requirement is to only support a single notation style, the following standalone packages might be what you want.
Unity.Mathematics.Text.Json.ArrayNotation
The package for using only JSON Array notation, as in the example below.
{
"vector": [1.43, 2.09, 43.9]
}
Unity.Mathematics.Text.Json.ObjectNotation
The package for using only JSON Object notation, as in the example below.
{
"vector": {
"x": 1.43,
"y": 2.09,
"z": 43.9
}
}