github.com/itchyny/gojq — validation proof

Go’s own github.com/itchyny/gojq test suite, converted to C# by go2cs, built against the converted standard library, run under the Go-semantics test host, and compared verdict for verdict against a clean go test -json baseline of the same sources. This page is generated by the converter from that comparison, and written beside the conversion: it is not a row of go2cs’s standard-library roster.

Validated 2026-11-09

164 matched · 0 disclosed — Go 1.26.10, linux/amd64, converted package src/github.com/itchyny/gojq.

Measured at Release (tiered JIT off), oracle go version go1.26.10 linux/amd64, with no controlling terminal.

Both sides were built with -tags purego,math_big_pure_go,safe.

Input digest sha256-1669bdb11be1e9dabe15924bd02b4cb0aa3c8f5ed13167e77379f2360c4ee577: the package’s Go sources, conversion options, target and converter, as its project records them (GoInputDigest).

Verdicts

Test go test go2cs
TestCodeCompile_OptimizeConstants pass pass
TestCodeCompile_OptimizeIndexSlice pass pass
TestCodeCompile_OptimizeIndexSliceAssign pass pass
TestCodeCompile_OptimizeJumps pass pass
TestCodeCompile_OptimizeTailRec_CallRec pass pass
TestCodeCompile_OptimizeTailRec_While pass pass
TestCodeRun_Race pass pass
TestCodeRun_RaceRegexp pass pass
TestCompare pass pass
TestCompare/, pass pass
TestCompare/,1 pass pass
TestCompare/,[] pass pass
TestCompare/,abc pass pass
TestCompare/0,0 pass pass
TestCompare/0,0#01 pass pass
TestCompare/0,1 pass pass
TestCompare/0,1#01 pass pass
TestCompare/0,NaN pass pass
TestCompare/0,true pass pass
TestCompare/1, pass pass
TestCompare/1,0 pass pass
TestCompare/1,0#01 pass pass
TestCompare/1,1 pass pass
TestCompare/1,1#01 pass pass
TestCompare/1,1#02 pass pass
TestCompare/1,1.01 pass pass
TestCompare/1.01,1 pass pass
TestCompare/1.01,1.01 pass pass
TestCompare/<nil>,<nil> pass pass
TestCompare/<nil>,false pass pass
TestCompare/NaN,0 pass pass
TestCompare/NaN,NaN pass pass
TestCompare/[0_1_2],[0_1_2_<nil>] pass pass
TestCompare/[0_1_2],[0_1_<nil>] pass pass
TestCompare/[0_1_2_false_<nil>],[0_1_2_<nil>_false] pass pass
TestCompare/[<nil>],[<nil>] pass pass
TestCompare/[<nil>],[] pass pass
TestCompare/[], pass pass
TestCompare/[],[<nil>] pass pass
TestCompare/[],[] pass pass
TestCompare/[],map[] pass pass
TestCompare/abc, pass pass
TestCompare/abc,abc pass pass
TestCompare/false,<nil> pass pass
TestCompare/false,false pass pass
TestCompare/false,true pass pass
TestCompare/map[],[] pass pass
TestCompare/map[],map[] pass pass
TestCompare/map[a:0_b:0_c:0],map[a:0_b:0_c:0] pass pass
TestCompare/map[a:0_b:0_d:0],map[a:0_b:1_c:0] pass pass
TestCompare/map[a:0_b:1_c:2],map[a:0_b:2_c:1] pass pass
TestCompare/map[a:<nil>],map[a:<nil>] pass pass
TestCompare/map[a:<nil>],map[a:<nil>_b:<nil>] pass pass
TestCompare/map[a:<nil>_b:<nil>],map[a:<nil>_c:<nil>] pass pass
TestCompare/true,0 pass pass
TestCompare/true,false pass pass
TestCompare/true,true pass pass
TestMarshal pass pass
TestMarshal/<nil> pass pass
TestMarshal/[1_[2_[3_[map[]]]]] pass pass
TestMarshal/[42_3.14_1e-06_1e-07_-1e-09_1e-10_NaN_+Inf_-Inf_42.0_340282366920938463463374607431768211455] pass pass
TestMarshal/[_abcde_foo\x00\x1f____\b<=>!"#$%'&_\\x7fbar] pass pass
TestMarshal/[false_true] pass pass
TestMarshal/map[x:[100]_y:map[z:42]] pass pass
TestParseErrorTokenOffset pass pass
TestParseErrorTokenOffset/^ pass pass
TestParseErrorTokenOffset/_^ pass pass
TestParseErrorTokenOffset/_^_ pass pass
TestParseErrorTokenOffset/_👍 pass pass
TestParseErrorTokenOffset/_👍_ pass pass
TestParseErrorTokenOffset/test👍 pass pass
TestParseErrorTokenOffset/👍 pass pass
TestPreview pass pass
TestPreview/+Inf pass pass
TestPreview/-Inf pass pass
TestPreview/0 pass pass
TestPreview/0_1_2_3_4_5_6_7_8_9_10_11_12 pass pass
TestPreview/0_1_2_3_4_5_6_7_8_9_10_11_12_13 pass pass
TestPreview/1000000000000000000000000000000 pass pass
TestPreview/10000000000000000000000000000000000000000 pass pass
TestPreview/3.14 pass pass
TestPreview/42.0 pass pass
TestPreview/9223372036854775807 pass pass
TestPreview/999999999999999999999999999999 pass pass
TestPreview/<nil> pass pass
TestPreview/NaN pass pass
TestPreview/[0_1_2_3_4_5_6_7_8_9_10_11_12] pass pass
TestPreview/[0_1_2_3_4_5_6_7_8_9_10_11_12_13] pass pass
TestPreview/[[[[[[[[<nil>_<nil>_<nil>]]]]]]]] pass pass
TestPreview/[[[[[[[[<nil>_<nil>_<nil>_<nil>]]]]]]]] pass pass
TestPreview/[] pass pass
TestPreview/false pass pass
TestPreview/map[0:map[1:map[2:map[3:[<nil>]]]]] pass pass
TestPreview/map[0:map[1:map[2:map[3:map[4:map[]]]]]] pass pass
TestPreview/map[] pass pass
TestPreview/true pass pass
TestPreview/0123456789 pass pass
TestQueryRun_Concurrently pass pass
TestQueryRun_Errors pass pass
TestQueryRun_Halt pass pass
TestQueryRun_HaltError pass pass
TestQueryRun_IndexError pass pass
TestQueryRun_Input pass pass
TestQueryRun_InvalidPathError pass pass
TestQueryRun_IteratorError pass pass
TestQueryRun_NonNilSlice pass pass
TestQueryRun_NonNilSlice/arrays pass pass
TestQueryRun_NonNilSlice/flatten pass pass
TestQueryRun_NonNilSlice/group_by(.) pass pass
TestQueryRun_NonNilSlice/indices([]) pass pass
TestQueryRun_NonNilSlice/keys pass pass
TestQueryRun_NonNilSlice/map(.) pass pass
TestQueryRun_NonNilSlice/nth(.) pass pass
TestQueryRun_NonNilSlice/path(.) pass pass
TestQueryRun_NonNilSlice/reverse pass pass
TestQueryRun_NonNilSlice/sort pass pass
TestQueryRun_NonNilSlice/sort_by(.) pass pass
TestQueryRun_NonNilSlice/to_entries pass pass
TestQueryRun_NonNilSlice/transpose pass pass
TestQueryRun_NonNilSlice/unique pass pass
TestQueryRun_NonNilSlice/unique_by(.) pass pass
TestQueryRun_ObjectError pass pass
TestQueryRun_Race pass pass
TestQueryRun_Strings pass pass
TestQueryString pass pass
TestTypeOf pass pass
TestTypeOf/+Inf pass pass
TestTypeOf/-Inf pass pass
TestTypeOf/0 pass pass
TestTypeOf/10 pass pass
TestTypeOf/10#01 pass pass
TestTypeOf/3.14 pass pass
TestTypeOf/<nil> pass pass
TestTypeOf/NaN pass pass
TestTypeOf/[] pass pass
TestTypeOf/false pass pass
TestTypeOf/map[] pass pass
TestTypeOf/string pass pass
TestTypeOf/true pass pass
TestWithEnvironLoader pass pass
TestWithEnvironLoaderEmpty pass pass
TestWithFunction pass pass
TestWithFunctionArityError pass pass
TestWithFunctionCompileArgsError pass pass
TestWithFunctionDuplicateName pass pass
TestWithFunctionMultipleArities pass pass
TestWithFunctionValueError pass pass
TestWithFunctionWithModuleLoader pass pass
TestWithInputIter pass pass
TestWithIterFunction pass pass
TestWithIterFunctionDefineError pass pass
TestWithIterFunctionError pass pass
TestWithIterFunctionInvalidPathError pass pass
TestWithIterFunctionPathEmpty pass pass
TestWithIterFunctionPathError pass pass
TestWithIterFunctionPathIndexing pass pass
TestWithIterFunctionPathInputValue pass pass
TestWithModuleLoaderError pass pass
TestWithModuleLoader_JSON pass pass
TestWithModuleLoader_LoadInitModules pass pass
TestWithModuleLoader_modulemeta pass pass
TestWithVariablesError0 pass pass
TestWithVariablesError1 pass pass
TestWithVariablesError2 pass pass

Excluded declarations

Declarations filtered from both sides of the comparison, and therefore not claimed above: Benchmark, Fuzz and Example declarations the converted host does not execute, plus any test requiring a capability the managed runtime does not provide — a testing member the host has not implemented, or a platform behavior it provably cannot reproduce. Each is named with the capability it needs.