MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / toWebJSON

Function toWebJSON

src/cli/MeasureManager.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48#endif
49
50web::json::value toWebJSON(const std::string& s) {
51 return web::json::value::string(utility::conversions::to_string_t(s));
52}
53// This just participates in overload resolution, otherwise it's ambiguous since Json::Value and std::string are constructible from char *
54web::json::value toWebJSON(const char* s) {
55 return web::json::value::string(utility::conversions::to_string_t(s));

Callers 12

unknown_endpointMethod · 0.85
statusMethod · 0.85
internal_stateMethod · 0.85
resetMethod · 0.85
setMethod · 0.85
download_bcl_measureMethod · 0.85
get_modelMethod · 0.85
bcl_measuresMethod · 0.85
update_measuresMethod · 0.85
compute_argumentsMethod · 0.85
create_measureMethod · 0.85
duplicate_measureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected