PhpSerializerNET 1.3.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PhpSerializerNET --version 1.3.0
NuGet\Install-Package PhpSerializerNET -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PhpSerializerNET" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PhpSerializerNET --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PhpSerializerNET, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PhpSerializerNET as a Cake Addin #addin nuget:?package=PhpSerializerNET&version=1.3.0 // Install PhpSerializerNET as a Cake Tool #tool nuget:?package=PhpSerializerNET&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1.3.0
- Removed net5 support and added net7 support
- Added package icon
1.2.0
- Added overload of
[PhpProperty()]
that accepts integer / long keys. See #32 - Allow deserialization of Objects with integer keys
1.1.0
- Made type information caches thread safe.
- Added support for PhpProperty on enums, allowing consumers to specify different field names
- Performance: Cache enum field information with
TypeCacheFlag.PropertyInfo
.
1.0.0
This is just 0.11.0 packaged as a new version to mark it as stable.
0.11.0
Deserialization:
- Added
string Serialize(object? input, PhpSerializiationOptions? options = null)
toPhpSerialization
so the target type can be specified at run time. PhpSerialization
(entry point of the library) is now null reference aware, aiding library consumers in cachingNullReferenceException
.PhpSerialization
throwsArgumentOutOfRangeException
instead of the more generalisedArgumentException
- Bugfix: "INF" and "-INF" would not be handled correctly when using explicit typing (
Deserialize<T>
) for some target types. - Bugfix: Properly set classname when deserializing with explicit types that implement IPhpObject.
- Bugfix: With the AllowExcessKeys, the deserialization of the given struct or object would abort when an excess key was encountered, leaving the properties after the excess key unassigned. See issue #27.
- Performance tweaks:
- Minor improvements on memory use during deserialization.
- Improved performance for deserializing Double and Integer values with explicit types.
General:
- Bugfix:
PhpSerialization.ClearTypeCache()
was not exposed. - Bugfix:
PhpSerialization.ClearPropertyInfoCache()
was not exposed.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PhpSerializerNET:
Package | Downloads |
---|---|
Paddle
Alpha Version Unofficial helpful sdk for Paddle |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.1 | 149 | 11/18/2024 |
2.0.0 | 128 | 11/13/2024 |
1.4.0 | 100,229 | 11/18/2023 |
1.3.0 | 61,324 | 11/10/2022 |
1.2.0 | 22,578 | 4/18/2022 |
1.1.0 | 105,694 | 1/17/2022 |
1.0.0 | 1,637 | 12/31/2021 |
0.11.0 | 872 | 12/23/2021 |
0.10.0 | 858 | 12/17/2021 |
0.9.0 | 830 | 12/8/2021 |
0.8.0 | 881 | 11/29/2021 |
0.7.4 | 785 | 11/28/2021 |
0.7.3 | 1,304 | 11/19/2021 |
0.7.2 | 879 | 11/9/2021 |
0.7.1 | 775 | 11/8/2021 |
0.7.0 | 1,063 | 10/11/2021 |
0.6.0 | 846 | 9/23/2021 |
0.5.1 | 1,488 | 9/21/2021 |
0.5.0 | 882 | 9/20/2021 |
0.4.0 | 944 | 9/12/2021 |
0.3.0 | 885 | 9/11/2021 |
0.2.0 | 835 | 9/7/2021 |
0.1.0 | 939 | 9/6/2021 |