#JsonSerializable
#Flutter Tip 💙

Turn on the "checked" flag in the JsonSerializable annotation to see exactly which fields cause errors during deserialization

This has saved me literal hours
July 31, 2025 at 3:25 PM
It's a fractal of bad decisions. Serializing a datetime is only slightly less common than printing a string. There's no excuse for datetime not to implement some default JSONSerializable that returns an ISO8601 string _except_ datetime isn't timezone-aware
July 31, 2024 at 12:05 AM
#Flutter tip for JSON lovers {💙}

In your JsonSerializable annotation, you can define the fieldRename argument to auto-rename all of the class fields
October 13, 2024 at 6:53 PM
Source-Generated JSON Serialisation

Reflection-based System.Text.Json is fine for prototypes. For hot paths and AOT, use JsonSerializable source generation. Cursor never thinks of this on its own — add a rule that flags new…

https://agentic-architect.dev/blog/#2026-09-10
#dotnet #csharp #cursor
September 10, 2026 at 1:35 PM
Source-Generated JSON Serialisation

Reflection-based System.Text.Json is fine for prototypes. For hot paths and AOT, use JsonSerializable source generation. Cursor never thinks of this on its own — add a rule that flags new…

https://agentic-architect.dev/blog/#2026-08-16
#dotnet #csharp #cursor
August 16, 2026 at 9:41 AM
💎 Enhancement update:

- php-iliaal-fastjson-0.6.0-1 (php 8.1 to 8.5)

github.com/iliaal/fastj...

⏲️ 20'09" 📦 120
Release 0.6.0 · iliaal/fastjson
Fixed Fixed a use-after-free encoding an array that a nested JsonSerializable mutates through an aliasing &-reference; the array is now copied before encoding, as ext/json does. JsonSerializable::...
github.com
July 10, 2026 at 4:20 AM
How to use a custom source generator to inform the source generator of System.Text.Json to generate code for the corresponding class (110428) https://github.com/dotnet/runtime/issues/110428
How to use a custom source generator to inform the source generator of System.Text.Json to generate code for the corresponding class · Issue #110428 · dotnet/runtime
Objective: I'd like to be able to use the System.Text.Json source generator to automatically generate code for the corresponding class, rather than manually adding the JsonSerializable feature. Pro...
github.com
December 5, 2024 at 6:17 AM
You can register mappings for specific types, as well as classes. If there isn't one present for the class, there are special use-cases for "Stringable" and "JsonSerializable".

It _will_ also handle "components" which are basically mapped classes that aren't quite entities. Think value objects.
December 12, 2024 at 12:13 PM
Source-Generated JSON Serialisation

Reflection-based System.Text.Json is fine for prototypes. For hot paths and AOT, use JsonSerializable source generation. Cursor never thinks of this on its own — add a rule that flags new…

https://agentic-architect.dev/blog/#2026-06-27
#dotnet #csharp #cursor
June 27, 2026 at 11:04 AM
Source-Generated JSON Serialisation

Reflection-based System.Text.Json is fine for prototypes. For hot paths and AOT, use JsonSerializable source generation. Cursor never thinks of this on…

https://agenticstandardcontact-byte.github.io/agentic-architect/blog/#2026-06-02
#dotnet #csharp #cursor
June 2, 2026 at 12:52 PM
v1.0.4 of ac_geojson
GeoJson classes using JsonSerializable
pub.dev
June 8, 2025 at 7:27 PM
📦 webdevcave/dto v1.0.1

Provides a foundation for data transfer objects in PHP applications. Built with support for ArrayAccess, JsonSerializable interfaces and hydration provided by our dependency injection container.

🔗 https://github.com/WebdevCave/dto-php
May 8, 2026 at 12:19 PM
📦 cms-health-project/serializable-reference-implementation 0.0.4

Reference implementation of the CMS HealthCheck RFC using the \JsonSerializable interface.

🔗 https://github.com/cms-health-project/serializable-reference-implementation
March 17, 2025 at 7:14 AM
📦 cms-health-project/serializable-reference-implementation 0.0.3

Reference implementation of the CMS HealthCheck RFC using the \JsonSerializable interface.

🔗 https://github.com/cms-health-project/serializable-reference-implementation
March 16, 2025 at 3:14 PM
laravelにはjsonSerializableって機能があってこのtraitをimplementしたクラス内でjsonSerialize()関数作ってそこで配列データ作ってやるとそのクラスをreturnするだけでjsonを返すことができるので非常に楽
October 8, 2024 at 7:24 AM