mirror of
https://github.com/tristanpenman/valijson.git
synced 2025-03-04 07:27:24 +01:00
Ensure picojson.h is included earlier in tests and add note about header include ordering to README
This commit is contained in:
parent
e1a59c09ba
commit
ba05594f53
@ -32,6 +32,8 @@ Valijson supports JSON documents loaded using JsonCpp, RapidJson, Boost Property
|
||||
|
||||
Version of JsonCpp going back to 0.5.0 should also work correctly, but versions from 1.0 onwards have not yet been tested.
|
||||
|
||||
Also note that when using PicoJSON, it may be necessary to include the `picojson.h` before other headers to ensure that the appropriate macros have been enabled.
|
||||
|
||||
Other versions of these libraries may work, but have not been tested.
|
||||
|
||||
## JSON Schema Support ##
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <picojson.h>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <picojson.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user