File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212
1313cmake_minimum_required (VERSION 3.0.0)
1414
15- project (jsonrpcpp VERSION 1.2.0 LANGUAGES CXX)
15+ project (jsonrpcpp VERSION 1.2.1 LANGUAGES CXX)
1616set (PROJECT_DESCRIPTION "C++ JSON-RPC 2.0 library" )
1717set (PROJECT_URL "https://github.com/badaix/jsonrpcpp" )
1818
Original file line number Diff line number Diff line change 33 _( )/ ___) / \ ( ( \( _ \( _ \ / __)( ) ( )
44 / \) \\___ \( O )/ / ) / ) __/( (__(_ _)(_ _)
55 \____/(____/ \__/ \_)__)(__\_)(__) \___)(_) (_)
6- version 1.2.0
6+ version 1.2.1
77 https://github.com/badaix/jsonrpcpp
88
99 This file is part of jsonrpc++
10- Copyright (C) 2017-2018 Johannes Pohl
10+ Copyright (C) 2017-2019 Johannes Pohl
1111
1212 This software may be modified and distributed under the terms
1313 of the MIT license. See the LICENSE file for details.
@@ -869,7 +869,7 @@ inline void Error::parse_json(const Json& json)
869869 code_ = json[" code" ];
870870 if (json.count (" message" ) == 0 )
871871 throw RpcException (" message is missing" );
872- message_ = json[" message" ];
872+ message_ = json[" message" ]. get <std::string>() ;
873873 if (json.count (" data" ) != 0u )
874874 data_ = json[" data" ];
875875 else
You can’t perform that action at this time.
0 commit comments