Sha256: 7c33e8a04430c483cd0c965808c93a347bf3623007a38afdb3b162f230604ec1

Contents?: true

Size: 364 Bytes

Versions: 24

Compression:

Stored size: 364 Bytes

Contents

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

#include <cstdlib>
#include <iostream>

#include <tao/json.hpp>

int main()
{
   tao::json::value v;
   v.try_emplace( "a", 1.0 );
   v.try_emplace( "b", 2.0 );
   tao::json::to_stream( std::cout, v );
   return EXIT_SUCCESS;
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/json/.conan/test_package/test_package.cpp
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/json/.conan/test_package/test_package.cpp
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/json/.conan/test_package/test_package.cpp
couchbase-3.0.0.alpha.1 ext/third_party/json/.conan/test_package/test_package.cpp