MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / require_i64_array

Function require_i64_array

include/engine/framework/io/json.h:145–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 const auto * value = object.find(key);
144 return value != nullptr && value->is_string() ? value->as_string() : std::move(default_value);
145}
146
147inline std::string optional_nullable_string(const Value & object, const std::string & key, std::string default_value) {
148 const auto * value = object.find(key);
149 if (value == nullptr || value->is_null()) {
150 return default_value;

Callers 4

parse_audio_vae_configFunction · 0.85
load_decoder_configFunction · 0.85
parse_configFunction · 0.85
parse_codec_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected