By magglemitch
on Wed, 05/31/2017 - 05:25
I am using the metadata in the target settings to control the information about the targets. At the moment when I am checking the newsearchresult.metadata(), I'm only able to grab the whole contents of the text file. Is it possible to somehow just get the first line, or define them some other way so I can store more information in there?
thanks.
Hello,
Hello,
I would suggest using JSON formatted metadata. This would allow you to parse the payload.
Thanks.
Okay thanks for that.
Okay thanks for that.
How exactly can I refer to the specific elements of the JSON file?
Hello,
Hello,
Parsing JSON files is not a Vuforia construct, thus it is not relevant to our forums. I would expect that there are libraries across all programming languages that can perform this function.