Actually include display_name in the returned JSON
This commit is contained in:
parent
9b860ce609
commit
72937cf6f2
1
main.cpp
1
main.cpp
@ -186,6 +186,7 @@ std::string getCustomKeysJson( size_t library_id ) {
|
|||||||
for ( auto &key : custom_keys ) {
|
for ( auto &key : custom_keys ) {
|
||||||
res << " {\n";
|
res << " {\n";
|
||||||
res << " \"name\": \"" << safeJson( key["name"] ) << "\",\n";
|
res << " \"name\": \"" << safeJson( key["name"] ) << "\",\n";
|
||||||
|
res << " \"display_name\": \"" << safeJson( key["display_name"] ) << "\",\n";
|
||||||
res << " \"type\": \"" << safeJson( key["type"] ) << "\",\n";
|
res << " \"type\": \"" << safeJson( key["type"] ) << "\",\n";
|
||||||
res << " \"input\": " << safeJson( key["input"] ) << "\n";
|
res << " \"input\": " << safeJson( key["input"] ) << "\n";
|
||||||
res << " },\n";
|
res << " },\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user