Sha256: 58320d9e365bbc469838118f6aa6e6f5d95ec49812b7ec38e4878abd5fac8ef5
Contents?: true
Size: 563 Bytes
Versions: 16
Compression:
Stored size: 563 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 <iostream> #include <tao/json.hpp> int main( int argc, char** argv ) { if( argc != 2 ) { std::cerr << "usage: " << argv[ 0 ] << " file.msgpack" << std::endl; std::cerr << " parses the msgpack file and writes it to stdout as json" << std::endl; return 1; } tao::json::events::to_stream consumer( std::cout ); tao::json::msgpack::events::from_file( consumer, argv[ 1 ] ); return 0; }
Version data entries
16 entries across 16 versions & 1 rubygems