// Copyright (c) 2011-2016 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "Serialization/JsonInputStreamSerializer.h" #include #include namespace CryptoNote { namespace { Common::JsonValue getJsonValueFromStreamHelper(std::istream& stream) { Common::JsonValue value; stream >> value; return value; } } JsonInputStreamSerializer::JsonInputStreamSerializer(std::istream& stream) : JsonInputValueSerializer(getJsonValueFromStreamHelper(stream)) { } JsonInputStreamSerializer::~JsonInputStreamSerializer() { } } //namespace CryptoNote