Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReflectorNet/ReflectorNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<!-- NuGet Package Information -->
<PackageId>com.IvanMurzak.ReflectorNet</PackageId>
<Version>2.4.0</Version>
<Version>2.4.1</Version>
<Authors>Ivan Murzak</Authors>
<Copyright>Copyright © Ivan Murzak 2025</Copyright>
<Description>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.</Description>
Expand Down
5 changes: 3 additions & 2 deletions ReflectorNet/src/Utils/Json/JsonSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Comment thread
IvanMurzak marked this conversation as resolved.
PropertyNameCaseInsensitive = true,
WriteIndented = true,
TypeInfoResolver = JsonTypeInfoResolver.Combine(
new DefaultJsonTypeInfoResolver()
Expand Down