minor fix for code examples (#1317)
parent
65bb1b1c1d
commit
c39fbdac0f
|
@ -1,5 +1,6 @@
|
||||||
#include "json/json.h"
|
#include "json/json.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <memory>
|
||||||
/**
|
/**
|
||||||
* \brief Parse a raw string into Value object using the CharReaderBuilder
|
* \brief Parse a raw string into Value object using the CharReaderBuilder
|
||||||
* class, or the legacy Reader class.
|
* class, or the legacy Reader class.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "json/json.h"
|
#include "json/json.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <memory>
|
||||||
/** \brief Write the Value object to a stream.
|
/** \brief Write the Value object to a stream.
|
||||||
* Example Usage:
|
* Example Usage:
|
||||||
* $g++ streamWrite.cpp -ljsoncpp -std=c++11 -o streamWrite
|
* $g++ streamWrite.cpp -ljsoncpp -std=c++11 -o streamWrite
|
||||||
|
|
Loading…
Reference in New Issue