alpaqa 1.0.0a19
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
json.hpp File Reference
#include <alpaqa/export.h>
#include <alpaqa/params/structs.hpp>
#include <nlohmann/json_fwd.hpp>
#include <string>
#include <vector>
+ Include dependency graph for json.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  enum_accessor< T, json >
 
struct  invalid_json_param
 Custom parameter parsing exception. More...
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::params
 

Functions

template<class T >
void set_param (T &, const json &j)
 Update/overwrite the first argument based on the JSON object j.
 
template<class T >
void get_param (const T &, json &j)
 Get the first argument as a JSON object j.