Module ActiveSupport::JSON
[ 0 Notes ] [ History ]
Files this module is defined in
Constants
DATE_REGEX = /^\d{4}-\d{2}-\d{2}|\d{4}-\d{1,2}-\d{1,2}[ \t]+\d{1,2}:\d{2}:\d{2}(\.[0-9]*)?(([ \t]*)Z|[-+]\d{2}?(:\d{2})?)?$/
 

matches YAML-formatted dates

Public Class Methods

decode (json)

Converts a JSON string into a Ruby object.

[ Source ] [ Add New Note ]

encode (value, options = {})

Converts a Ruby object into a JSON string.

[ Source ] [ Add New Note ]
Child Classes and Modules

Add New Note
User Added Notes