module AsJsonEncoder

Constants

SharedEncoderInstance
VERSION

Attributes

cache[RW]

The cache to use for storing JSON fragments. This will grow unbounded at runtime, so it should be set to a bounded LRU cache implementation, such as ActiveSupport::Cache::MemoryStore.

namespace[RW]

The namespace to use for the cache keys.