You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address STJ migration bugs and PR review feedback
- Fix ConvertJsonElement ternary type coercion: (object)l cast prevents
implicit long→double widening in switch expression
- Make ObjectToInferredTypesConverter configurable with preferInt64 flag
for ES serializer to match JSON.NET DataObjectConverter behavior
- Fix ElasticSystemTextJsonSerializer: remove ReadStreamToSpan lifetime
bug (span backed by disposed MemoryStream), deserialize from stream
directly with MemoryStream fast-path
- Fix Serialize<T> indentation: pass JsonWriterOptions to Utf8JsonWriter
so SerializationFormatting.Indented actually produces indented output
- Handle exponent notation (1e5) as floating-point in ReadNumber
- Use double consistently (not decimal) for floating-point to match
JSON.NET behavior
- Fix RenameAll return value: return whether any renames occurred
- Add using var to MemoryStream in EventController and EventPostsJob
- Handle empty response bodies in SendRequestAsAsync (STJ throws on
empty input, Newtonsoft returned default)
- Fix SerializerTests: put unknown properties at root level to test
JsonExtensionData→ConvertJsonElement path correctly
- Revert AGENTS.md to main
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: AGENTS.md
-23Lines changed: 0 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,26 +53,3 @@ Load from `.github/skills/<name>/SKILL.md` when working in that domain:
53
53
- Use `npm ci` (not `npm install`)
54
54
- Never commit secrets — use environment variables
55
55
- NuGet feeds are in `NuGet.Config` — don't add sources
56
-
57
-
## Serialization Architecture
58
-
59
-
The project uses **System.Text.Json (STJ)** exclusively. NEST still brings in Newtonsoft.Json transitively, but all application-level serialization uses STJ:
0 commit comments