mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[flori/json] Doc: Improve documentation on JSON#parse and JSON#parse!
75ada77b96
Co-authored-by: Bruno Gomes da Silva <brunojabs@gmail.com>
This commit is contained in:
parent
a37051ef3b
commit
767f3904ee
2 changed files with 2 additions and 0 deletions
|
@ -2950,6 +2950,7 @@ static const char MAYBE_UNUSED(_JSON_nfa_pop_trans)[] = {
|
|||
*
|
||||
* Parses the current JSON text _source_ and returns the complete data
|
||||
* structure as a result.
|
||||
* It raises JSON::ParseError if fail to parse.
|
||||
*/
|
||||
static VALUE cParser_parse(VALUE self)
|
||||
{
|
||||
|
|
|
@ -839,6 +839,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
|
|||
*
|
||||
* Parses the current JSON text _source_ and returns the complete data
|
||||
* structure as a result.
|
||||
* It raises JSON::ParseError if fail to parse.
|
||||
*/
|
||||
static VALUE cParser_parse(VALUE self)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue