Sha256: ac5eda0215f11febdb5339bb62595273c0e6e445ec3477c244e784e3be67c275
Contents?: true
Size: 744 Bytes
Versions: 61
Compression:
Stored size: 744 Bytes
Contents
class ReeJson::Constants # see detailed docsumentation for modes # https://github.com/ohler55/oj/blob/develop/pages/Modes.md MODES = [ :strict, :null, :compat, :json, :rails, :object, :custom, :wab, ].freeze ESCAPE_MODES = [ :newline, # allows unescaped newlines in the output. :json, # follows the JSON specification. This is the default mode. :xss_safe, # escapes HTML and XML characters such as & and <. :ascii, # escapes all non-ascii or characters with the hi-bit set. :unicode_xss, # escapes a special unicodes and is xss safe. ].freeze TIME_FORMATS = [].freeze DEFAULT_OPTIONS = { time_format: :xmlschema, use_as_json: true, mode: :rails, }.freeze end
Version data entries
61 entries across 61 versions & 1 rubygems