Registry / serialization / activesupport-json-encoder

activesupport-json-encoder

JSON →
library1.1.0rbrubygemsunverified

A pure-Ruby ActiveSupport JSON encoder.

gem install activesupport-json_encoder
INSTALL
IMPORT
SIG · ACTIVESUPPORT-JSON
A
activesupport-json-encoder
serializationrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveSupport::JSON::Encoding
require 'active_support/json/encoding'

Encode a Ruby hash to JSON using the pure-Ruby encoder.

require 'active_support/json/encoding' ActiveSupport::JSON.encode({key: 'value'}) # => '{"key":"value"}'
Debug
Known issues
gotchaThis gem overrides ActiveSupport's default JSON encoder; ensure compatibility with other JSON libraries.
fix
Use the default encoder unless you specifically need pure-Ruby encoding.
affects: >= 1.0.0
Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
36
OpenAI (training)
1
Resources
activesupport-json-encoder — gem install activesupport-json-encoder · libregistry