mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Support config patch in c contract library. (#219)
This commit is contained in:
committed by
GitHub
parent
0914994772
commit
fa0c1e8130
@@ -896,6 +896,7 @@ namespace conf
|
||||
{
|
||||
jsoncons::json_options options;
|
||||
options.object_array_line_splits(jsoncons::line_split_kind::multi_line);
|
||||
options.spaces_around_comma(jsoncons::spaces_option::no_spaces);
|
||||
std::ostringstream os;
|
||||
os << jsoncons::pretty_print(d, options);
|
||||
json = os.str();
|
||||
|
||||
Reference in New Issue
Block a user