This repository has been archived by the owner on Oct 6, 2023. It is now read-only.
forked from JamesNK/Newtonsoft.Json
-
Notifications
You must be signed in to change notification settings - Fork 131
Wildcards
Kalle Jillheden edited this page Jan 10, 2021
·
1 revision
UnityLinker supports wildcards (*
) on the fullname
attribute.
The wildcard character, *, means "match any number of any characters (including 0 length)"
Example usages:
<linker>
<!-- will match any assembly starting with "Newtonsoft."
for exampleL
Newtonsoft.Json
Newtonsoft.Json.Tests
Newtonsoft.Bson
Newtonsoft.Dson
-->
<assembly fullname="Newtonsoft.*" />
<assembly fullname="Newtonsoft.Json">
<!-- will match any type inside Newtonsoft.Json.Serialization
ending with "NamingStrategy"
for example:
Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy,
Newtonsoft.Json.Serialization.CamelCaseNamingStrategy
Newtonsoft.Json.Serialization.KebabCaseNamingStrategy
-->
<type fullname="Newtonsoft.Json.Serialization.*NamingStrategy" />
</assembly>
<assembly fullname="MyAssembly">
<!-- will match all anonymous types inside the assembly MyAssembly -->
<type fullname="<>f_AnonymousType*" />
</assembly>
</linker>
new!
Unity's package is now officially ready for public use: Install official UPM package
This package is licensed under The MIT License (MIT)
Copyright © 2019 Kalle Jillheden (jilleJr)
https://github.com/jilleJr/Newtonsoft.Json
See full copyrights in LICENSE.md inside repository
About- Home
-
Install Newtonsoft.Json
Deprecated:
-
Install converters for Unity