First off, much thx to Modular devs for doing this, and sharing your work. I've installed #Parameters and JSON, and got the "Insert from URL" working great.
Data::letNotation successfully gets the parsed content:
"$site_id = \"CR-1004\" ;¶$structure_id = \"CR-1004\" ;¶$crossing_name = \"Amai Creek\" ;¶"
"$site_id = \"CR-1006\" ;¶$structure_id = \"CR-1006\" ;¶$crossing_name = \"Ray Creek\" ;¶"
Is there a way to "Evaluate" each row to set the Fields in the database? I've tried simply to set local variables to the JSON parsed line:
Set Variable [$!; Evaluate ( "Let ( [" & $DataRow & "] ;" )]
Where $DataRow is, for test purposes:
"$site_id = \"CR-9999\" ;¶$structure_id = \"CR-9999\" ;¶$crossing_name = \"Ganges River\" ;¶"
But I cannot even set a local variable to be dynamically set from the JSON parsed content. Am I missing an obvious JSON Module function to do this just this? If not, I supposed I'll have to loop through each row and do a 'Set Field by Name" on each variable.
TIA
Gary