rainmeter-jsonparser icon indicating copy to clipboard operation
rainmeter-jsonparser copied to clipboard

Readme Section Variables example feedback

Open chocmake opened this issue 2 years ago • 0 comments

Firstly, thanks for this plugin. With v1.1. of the plugin was following the readme example for the Section Variables but noticed the syntax didn't work as-is in my testing.

Original readme syntax:

[Data]
Meter=String
Text=[MeasureJson:Query(<query>,<inline json>)]

Syntax that worked:

[Data]
Meter=String
Text=[&MeasureJson:Query("<query>","<inline json>")]

The prefixed & for the measure function seems necessary to work in my tests. (While the argument double quoting is perhaps assumed but added here for clarity.)

Alternatively for anyone wanting to use a measure value as the JSON source "[&ExampleMeasure]" can be used instead of an inline JSON string.

chocmake avatar Apr 15 '24 11:04 chocmake