diff --git a/ReflectorNet/ReflectorNet.csproj b/ReflectorNet/ReflectorNet.csproj index 00b43a9..7f9e1e3 100644 --- a/ReflectorNet/ReflectorNet.csproj +++ b/ReflectorNet/ReflectorNet.csproj @@ -9,7 +9,7 @@ com.IvanMurzak.ReflectorNet - 2.4.0 + 2.4.1 Ivan Murzak Copyright © Ivan Murzak 2025 ReflectorNet is an advanced .NET reflection toolkit designed for AI-driven scenarios. Effortlessly search for C# methods using natural language queries, invoke any method by supplying arguments as JSON, and receive results as JSON. The library also provides a powerful API to inspect, modify, and manage in-memory object instances dynamically via JSON data. Ideal for automation, testing, and AI integration workflows. diff --git a/ReflectorNet/src/Utils/Json/JsonSerializer.cs b/ReflectorNet/src/Utils/Json/JsonSerializer.cs index 043f874..fc7bd0f 100644 --- a/ReflectorNet/src/Utils/Json/JsonSerializer.cs +++ b/ReflectorNet/src/Utils/Json/JsonSerializer.cs @@ -76,8 +76,9 @@ public JsonSerializer(Reflector reflector) { DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, // Ignore 'null' field and properties // DefaultIgnoreCondition = JsonIgnoreCondition.Never, // Include 'null' fields and properties - PropertyNamingPolicy = JsonNamingPolicy.CamelCase, - //ReferenceHandler = ReferenceHandler.Preserve, + // ReferenceHandler = ReferenceHandler.Preserve, + PropertyNamingPolicy = null, + PropertyNameCaseInsensitive = true, WriteIndented = true, TypeInfoResolver = JsonTypeInfoResolver.Combine( new DefaultJsonTypeInfoResolver()