To build the jsoncons examples with cmake:

Set the environmental variables:

BOOST_ROOT
BOOST_INCLUDEDIR       - Preferred include directory 
BOOST_LIBRARYDIR       - Preferred library directory e.g. <prefix>/lib/vc140x64

To build the tests with vc140,

build_vc140x64.cmd

and to run them

run_examples_vc140x64.cmd

