to_json(*) Instance Public methods This string should be encoded with UTF-8 A call to this method returns a JSON string encoded with UTF16 big endian characters as u????.
String.included(modul) Class Public methods Extends modul with the String::Extend module.
json_create(o) Instance Public methods Raw Strings are JSON Objects (the raw bytes are stored in an array for the key ârawâ). The Ruby String can be created by this module method.
to_json(*) Instance Public methods Converts this object to a string (calling to_s), converts it to a JSON string, and returns the result. This is a fallback, if no special method to_json was defined for some object.
to_json(*) Instance Public methods Returns a JSON string for nil: 'null'.
to_json(state = nil) Instance Public methods Returns a JSON string containing a JSON object, that is generated from this Hash instance. state is a JSON::State object, that can also be used to configure the produced JSON string output further.
to_json(*) Instance Public methods Returns a JSON string representation for this Float number.
to_json(*) Instance Public methods Returns a JSON string representation for this Integer number.
to_json(*) Instance Public methods Returns a JSON string for false: 'false'.
Page 1816 of 2275