--// Copyright (C) 2010-2017 Internet Systems Consortium, Inc. ("ISC")
++// Copyright (C) 2010-2018 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
/// @param file_name specified input file name (used in error reporting)
/// @param preproc specified whether preprocessing (e.g. comment removal)
/// should be performed
+ /// @throw JSONError
/// @return An ElementPtr that contains the element(s) specified
/// in the given input stream.
+ /// @throw JSONError
static ElementPtr fromJSON(std::istream& in, const std::string& file_name,
bool preproc = false);