Module JSON::Pure::Generator::GeneratorMethods::String::Extend
In: lib/json/pure/generator.rb
ParserError NestingError GeneratorError CircularDatastructure StandardError JSONError MissingUnicodeSupport Gtk StringScanner Parser State lib/json/common.rb Ext Editor lib/json/pure/parser.rb lib/json/pure/generator.rb Integer FalseClass Array Hash Float NilClass Object TrueClass Extend String GeneratorMethods Generator Pure JSON dot/m_9_1.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 349
349:             def json_create(o)
350:               o['raw'].pack('C*')
351:             end

[Validate]