diff --git a/README.md b/README.md index f337bf63d..01d65929a 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ You can also use streams to serialize and deserialize: ```cpp // deserialize from standard input json j; -j << std::cin; +std::cin >> j; // serialize to standard output std::cout << j;