oj_windows is a fork of Oj (https://github.com/ohler55/oj) by Peter Ohler, adapted to build with the MSVC (mswin) Ruby toolchain: pthread mutexes replaced with Windows primitives, POSIX headers guarded, and SIMD string scanning enabled under MSVC. It provides the full Oj API (module Oj) and JSON-gem compatibility. Because it defines the same Oj module, it is a replacement for - and cannot be installed alongside - the upstream oj gem. Requires Ruby 3.4+ built with the MSVC toolchain (RubyInstaller/MinGW users should use the upstream oj gem instead).
Required Ruby Version
>= 3.4
Authors
Peter Ohler, tigel
Versions
-
3.17.2.1
-
source
- 3.17.2.1 source May 29, 2026 (178 KB)
-
-
3.16.15
-
source
- 3.16.15 source December 20, 2025 (178 KB)
-