Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::design::TweakParam Struct Reference

One parameter in the block: a key and its JSON-encoded value. More...

#include <design_tweaks.hpp>

Public Attributes

std::string key
std::string json_value
 the value's JSON text, exactly as it will serialize

Detailed Description

One parameter in the block: a key and its JSON-encoded value.

The value is kept as its JSON text — a quoted color string with its quotes, or 8, true, 0.5 — so a rewrite never has to guess a number's formatting or re-quote a string.

Member Data Documentation

◆ json_value

std::string pulp::design::TweakParam::json_value

the value's JSON text, exactly as it will serialize

◆ key

std::string pulp::design::TweakParam::key

The documentation for this struct was generated from the following file: