Fixing typo
This commit is contained in:
parent
12e6611ba4
commit
24551db0c8
|
@ -143,7 +143,7 @@ The simplest API to get started is `document::parse()`, which allocates a new pa
|
|||
|
||||
```c++
|
||||
auto [doc, error] = document::parse(string("[ 1, 2, 3 ]"));
|
||||
if (error) { cerr << "Error: " << error_meesage(error) << endl; exit(1); }
|
||||
if (error) { cerr << "Error: " << error_message(error) << endl; exit(1); }
|
||||
doc.print_json(cout);
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue