Module JSON::Pure::Generator::GeneratorMethods::String::Extend
In: lib/json/pure/generator.rb
JSONError GeneratorError ParserError MissingUnicodeSupport CircularDatastructure 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_0.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 384
384:             def json_create(o)
385:               o['raw'].pack('C*')
386:             end

[Validate]