Module JSON::Pure::Generator::GeneratorMethods::String::Extend
In: lib/json/pure/generator.rb
JSONError GeneratorError ParserError MissingUnicodeSupport NestingError StandardError Gtk StringScanner Parser State lib/json/common.rb Ext Editor lib/json/pure/parser.rb lib/json/pure/generator.rb Object Integer FalseClass Array Hash Float NilClass TrueClass Extend String GeneratorMethods Generator Pure JSON dot/m_9_3.png

Module that holds the extinding methods if, the String module is included.

Methods

Public Instance 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.

[Source]

     # File lib/json/pure/generator.rb, line 394
394:             def json_create(o)
395:               o['raw'].pack('C*')
396:             end

[Validate]