Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/bitcoin/explorer/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
namespace libbitcoin {
namespace explorer {

BCX_API boost::json::value to_json(const settings_list& settings) NOEXCEPT;
BCX_API system::json::value to_json(const settings_list& settings) NOEXCEPT;

BCX_API boost::json::value to_json(
BCX_API system::json::value to_json(
const system::wallet::bitcoin_uri& uri) NOEXCEPT;

} // namespace explorer
Expand Down
2 changes: 1 addition & 1 deletion include/bitcoin/explorer/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void write_file(std::ostream& output, const std::string& path,
* @return The output stream (for convenience).
*/
BCX_API std::ostream& write_stream(std::ostream& output,
const boost::json::value& value);
const system::json::value& value);

} // namespace explorer
} // namespace libbitcoin
Expand Down
2 changes: 1 addition & 1 deletion src/json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace libbitcoin {
namespace explorer {

using namespace bc::system;
using namespace boost::json;
using namespace bc::system::json;

// Settings keys are dot-delimited section paths.
static void put_path(object& out, const std::string& path,
Expand Down
4 changes: 2 additions & 2 deletions src/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ namespace libbitcoin {
namespace explorer {

std::ostream& write_stream(std::ostream& output,
const boost::json::value& value)
const system::json::value& value)
{
output << boost::json::serialize(value) << std::endl;
output << system::json::serialize(value) << std::endl;
return output;
}

Expand Down
Loading