JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Functions
moduleinfoparser.cpp File Reference
#include "moduleinfoparser.h"
#include "jsoncxx.h"
#include "pluginterfaces/base/ipluginbase.h"
#include <limits>
#include <stdexcept>

Go to the source code of this file.

Functions

std::optional< ModuleInfoSteinberg::ModuleInfoLib::parseJson (std::string_view jsonData, std::ostream *optErrorOutput)
 parse a json formatted string to a ModuleInfo struct
 
std::optional< ModuleInfo::CompatibilityListSteinberg::ModuleInfoLib::parseCompatibilityJson (std::string_view jsonData, std::ostream *optErrorOutput)
 parse a json formatted string to a ModuleInfo::CompatibilityList
 

Function Documentation

◆ parseCompatibilityJson()

std::optional< ModuleInfo::CompatibilityList > Steinberg::ModuleInfoLib::parseCompatibilityJson ( std::string_view  jsonData,
std::ostream optErrorOutput 
)

parse a json formatted string to a ModuleInfo::CompatibilityList

Parameters
jsonDataa string view to a json formatted string
optErrorOutputoptional error output stream where to print parse error
Returns
ModuleInfo::CompatibilityList if parsing succeeded

Definition at line 509 of file moduleinfoparser.cpp.

◆ parseJson()

std::optional< ModuleInfo > Steinberg::ModuleInfoLib::parseJson ( std::string_view  jsonData,
std::ostream optErrorOutput 
)

parse a json formatted string to a ModuleInfo struct

Parameters
jsonDataa string view to a json formatted string
optErrorOutputoptional error output stream where to print parse error
Returns
ModuleInfo if parsing succeeded

Definition at line 482 of file moduleinfoparser.cpp.