Sha256: 2fbf916653e8ad5ba3bc64eaf1155bb8f6658b4478b2c034542c2a260fdbcf70

Contents?: true

Size: 818 Bytes

Versions: 16

Compression:

Stored size: 818 Bytes

Contents

// Copyright (c) 2018-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/

#include <cstddef>
#include <iostream>
#include <limits>
#include <stdexcept>
#include <string>
#include <utility>

#include <tao/json/events/from_file.hpp>
#include <tao/json/events/from_value.hpp>
#include <tao/json/events/to_value.hpp>
#include <tao/json/events/validate_event_order.hpp>

int main( int argc, char** argv )
{
   for( int i = 1; i < argc; ++i ) {
      tao::json::events::validate_event_order c1;
      tao::json::events::from_file( c1, argv[ i ] );
      tao::json::events::to_value c2;
      tao::json::events::from_file( c2, argv[ i ] );
      tao::json::events::validate_event_order c3;
      tao::json::events::from_value( c3, c2.value );
   }
   return 0;
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.4 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.3 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.2 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/json/src/example/json/validate_event_order.cpp
couchbase-3.0.0.alpha.1 ext/third_party/json/src/example/json/validate_event_order.cpp