Skip to content

Commit

Permalink
Doc: Improve documentation on JSON#parse and JSON#parse!
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Gomes da Silva <brunojabs@gmail.com>
  • Loading branch information
hsbt and brunojabs committed Dec 2, 2021
1 parent 32b0185 commit 75ada77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ext/json/ext/parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
1 change: 1 addition & 0 deletions ext/json/ext/parser/parser.rl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 75ada77

Please sign in to comment.