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

[Validate]