src/file.cpp
/**
 * @brief Check if the filepath's extension is a valid json extension
 * 
 * @param filepath 
 * @return true 
 * @return false 
 */
@brief Check if the filepath's extension is a valid json extension

@param filepath
@return true
@return false
@brief Check if the filepath ' s extension is a valid json extension @param filepath @return true @return false
inline bool improc::JsonFile::IsExtensionValid(const improc::File& json_file)
{
    IMPROC_INFRASTRUCTURE_LOGGER_TRACE  ( "Checking if json file {} has valid extension..."
                                        , json_file.get_filepath() );
    static const std::string kJsonExtension = ".json";
    return json_file.get_extension() == kJsonExtension;
}
inline bool improc :: JsonFile :: IsExtensionValid ( const improc :: File & json_file ) { IMPROC_INFRASTRUCTURE_LOGGER_TRACE ( " " , json_file . get_filepath ( ) ) ; static const std :: string kJsonExtension = " " ; return json_file . get_extension ( ) == kJsonExtension ; }
@brief Check if the filepath's extension is a valid json extension
@brief Check if the filepath ' s extension is a valid json extension