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
1 change: 0 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
if: ${{ needs.discover.result == 'success' }}
uses: Stillpoint-Software/shared-workflows/.github/workflows/format.yml@main
with:
dotnet_version: "10.0.x"
branch: ${{ needs.discover.outputs.branch_name }}
secrets: inherit

16 changes: 8 additions & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
<!-- Shared package refs -->
<ItemGroup>
<!-- NBGV drives versions; PrivateAssets=all keeps it out of consumers -->
<PackageReference Include="Nerdbank.GitVersioning" Version="3.9.50" PrivateAssets="all" />

<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" />
<!-- SourceLink for GitHub -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.14.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub"/>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" />
</ItemGroup>

<!-- SourceLink / build hygiene -->
Expand Down Expand Up @@ -45,4 +40,9 @@
PackagePath="\"
Link="LICENSE" />
</ItemGroup>
<!-- Global project properies -->
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
</Project>
32 changes: 32 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<!-- Core Application Dependencies -->
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="5.0.0" />
<!-- Development Tools -->
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.9.50" />
<!-- Testing Framework -->
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="MSTest.TestAdapter" Version="4.0.2" />
<PackageVersion Include="MSTest.TestFramework" Version="4.0.2" />
<PackageVersion Include="YamlDotNet" Version="16.3.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="JsonCons.JsonPath" Version="1.1.0" />
<PackageVersion Include="JsonPatch.Net" Version="4.0.1" />
<PackageVersion Include="JsonPath.Net" Version="2.2.0" />
<PackageVersion Include="Microsoft.AspNetCore.JsonPatch" Version="10.0.1" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
<!-- Benchmarking -->
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
<PackageVersion Include="JsonCraft.JsonPath" Version="1.0.0" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Hyperbee.Json.slnx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Solution>
<Folder Name="/Solution Items/">
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
<File Path="LICENSE" />
<File Path="README.md" />
<File Path="version.json" />
Expand Down
402 changes: 202 additions & 200 deletions README.md

Large diffs are not rendered by default.

12 changes: 3 additions & 9 deletions src/Hyperbee.Json/Hyperbee.Json.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>true</IsPackable>

<Authors>Stillpoint Software, Inc.</Authors>
<PackageId>Hyperbee.Json</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down Expand Up @@ -36,11 +33,8 @@
<None Include="..\..\assets\icon.png" Pack="true" Visible="false" PackagePath="/" />
<None Include="..\..\README.md" Pack="true" Visible="true" PackagePath="/" Link="README.md" />
<None Include="..\..\LICENSE" Pack="true" Visible="false" PackagePath="/" />
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.14.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="Nerdbank.GitVersioning" Version="3.9.50" />
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Scripting" />
<PackageReference Update="Microsoft.SourceLink.GitHub" />
<PackageReference Update="Nerdbank.GitVersioning" />
</ItemGroup>
</Project>
28 changes: 9 additions & 19 deletions test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand All @@ -14,26 +12,18 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
<PackageReference Include="JsonCons.JsonPath" Version="1.1.0" />
<PackageReference Include="JsonCraft.JsonPath" Version="1.0.0" />
<PackageReference Include="JsonPatch.Net" Version="4.0.0" />
<PackageReference Include="JsonPath.Net" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="10.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="BenchmarkDotNet" />
<PackageReference Include="JsonCons.JsonPath" />
<PackageReference Include="JsonCraft.JsonPath" />
<PackageReference Include="JsonPatch.Net" />
<PackageReference Include="JsonPath.Net" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Update="Microsoft.SourceLink.GitHub" />
<PackageReference Update="Nerdbank.GitVersioning" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Hyperbee.Json\Hyperbee.Json.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.14.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="Nerdbank.GitVersioning" Version="3.9.50" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2)
12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores
.NET SDK 10.0.101
[Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG
[Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 [AttachedDebugger]
ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2)
12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores
.NET SDK 10.0.101
[Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG
[Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 [AttachedDebugger]
ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3


| Method | Mean | Error | StdDev | Allocated
| :-------------------- | --------: | ---------: | --------: | ---------:
| JsonDiff_JsonNode | 438.2 ns | 45.95 ns | 2.52 ns | 1.3 KB
| JsonDiff_JsonElement | 663.2 ns | 538.12 ns | 29.50 ns | 1.93 KB
| | | | |
| JsonDiff_JsonNode | 347.0 ns | 117.11 ns | 6.42 ns | 1.2 KB
| JsonDiff_JsonElement | 472.1 ns | 175.95 ns | 9.64 ns | 1.66 KB
| Method | Mean | Error | StdDev | Allocated
| :-------------------- | --------: | ---------: | -------: | ---------:
| JsonDiff_JsonNode | 431.2 ns | 109.04 ns | 5.98 ns | 1.3 KB
| JsonDiff_JsonElement | 636.4 ns | 70.49 ns | 3.86 ns | 1.93 KB
| | | | |
| JsonDiff_JsonNode | 335.6 ns | 80.57 ns | 4.42 ns | 1.2 KB
| JsonDiff_JsonElement | 507.5 ns | 180.81 ns | 9.91 ns | 1.66 KB
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2)
12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores
.NET SDK 10.0.101
[Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG
[Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 [AttachedDebugger]
ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3


| Method | Mean | Error | StdDev | Allocated
| :----------------------- | ---------: | ---------: | ---------: | ---------:
| Hyperbee_JsonElement | 79.45 ns | 34.78 ns | 1.906 ns | 392 B
| Hyperbee_JsonNode | 84.85 ns | 64.17 ns | 3.517 ns | 392 B
| JsonEverything_JsonNode | 188.61 ns | 319.11 ns | 17.491 ns | 968 B
| AspNetCore_JsonNode | 353.32 ns | 106.43 ns | 5.834 ns | 1024 B
| Method | Mean | Error | StdDev | Allocated
| :----------------------- | ---------: | ---------: | --------: | ---------:
| Hyperbee_JsonNode | 78.55 ns | 14.146 ns | 0.775 ns | 392 B
| Hyperbee_JsonElement | 83.08 ns | 11.340 ns | 0.622 ns | 392 B
| JsonEverything_JsonNode | 184.07 ns | 2.770 ns | 0.152 ns | 968 B
| AspNetCore_JsonNode | 325.06 ns | 51.946 ns | 2.847 ns | 1024 B
```
Loading
Loading