diff options
Diffstat (limited to 'doc/classes/JSON/Ext/Generator/GeneratorMethods/String.src/M000115.html')
-rw-r--r-- | doc/classes/JSON/Ext/Generator/GeneratorMethods/String.src/M000115.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/classes/JSON/Ext/Generator/GeneratorMethods/String.src/M000115.html b/doc/classes/JSON/Ext/Generator/GeneratorMethods/String.src/M000115.html new file mode 100644 index 0000000..65f766c --- /dev/null +++ b/doc/classes/JSON/Ext/Generator/GeneratorMethods/String.src/M000115.html @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html> +<head> + <title>to_json (JSON::Ext::Generator::GeneratorMethods::String)</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href="../../../../../.././rdoc-style.css" type="text/css" media="screen" /> +</head> +<body class="standalone-code"> + <pre>/* + * call-seq: to_json(*) + * + * This string should be encoded with UTF-8 A call to this method + * returns a JSON string encoded with UTF16 big endian characters as + * \u????. + */ +static VALUE mString_to_json(int argc, VALUE *argv, VALUE self) +{ + VALUE state, depth; + rb_scan_args(argc, argv, "02", &state, &depth); + state = cState_from_state_s(cState, state); + return cState_partial_generate(state, self, depth); +}</pre> +</body> +</html>
\ No newline at end of file |