Skip to content
class method

String.json_create

json_create(o)

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 class method.

See also .new .try_convert