Does anyone have an R implementation of a HJSON parser?
Shockingly, parser exist for some of the more 'obscure' languages (ehem.. lua?!) in their github repo but not for R: https://github.com/orgs/hjson/repositories.
For context, undertaking some hyperparameter tuning, so I wanted to specify ranges for the parameters, and HJSON format seemed appropriate for ease (familiarity), commenting and portable to other langs (e.g. Python). Alternative recommendations are welcome for suitable config formats in R.
Example:
# non-dynamic parameters
array_val: [ 1, 2, 3, 4]
array_str: [ "s1", "s2", "s3", "s4"]
some_val: 1
# parameters and dimensions for tuning
dim1:
{
dim1_A:
{
parameter1: [lower_bound, upper_bound]
parameter2: ...
}
}
dim2:
{
...
}