Patrick Boettcher
6f69d01b58
use #include <nlohmann/json.hpp> to avoid filename clashes
...
alternative for #20
2018-02-27 11:11:55 +01:00
Patrick Boettcher
dda72a0023
compatibility: now it works with 3.x-release of nlohmann::json
...
The name conflict of json_pointer was fixed by renaming the one
from here to local_json_pointer. Ugly, but better fixes take time.
2018-01-19 09:38:50 +01:00
Gert Van Hoey
42b32c500c
Build as shared library on Windows using Visual Studio compiler ( #10 )
...
* Build on Windows using Visual Studio and export symbols from DLL
* Fix two warnings on raised by Visual Studio 2015 compiler + disable -Wall and -Wextra when using Visual Studio compiler
* Fix indentation (TAB instead of spaces)
2017-08-07 13:35:35 +02:00
ronen barzel
e666f9f7ba
add const to validate() parameter
...
…and propogate it everywhere
2017-02-01 11:39:39 +01:00
Patrick Boettcher
f42d5fb587
validator: add some basic format-checking
2016-12-28 13:27:16 +01:00
Patrick Boettcher
5e9605b055
validator: update API so that the root-schema-insertion can be located in a try-catch-block
2016-12-27 13:50:45 +01:00
Patrick Boettcher
998f97ba4e
validator: handle undefined schema-loader via a std::function given at construction-time
2016-12-27 11:39:48 +01:00
Patrick Boettcher
685b759712
validator: place some methods outside of the class
2016-12-27 01:36:26 +01:00
Patrick Boettcher
9b3769a132
validator: escape json-pointer-field when appending
2016-12-27 00:34:11 +01:00
Patrick Boettcher
b2240084fe
validator: rework everything to handle local and remote refs
...
Added json-uri and json-pointer-classes and a schema-preparation-pass.
2016-12-26 23:48:57 +01:00