"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Getting more information out of metadata?

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,

I would suggest using JSON formatted metadata. This would allow you to parse the payload.

Thanks.

magglemitch

Tue, 06/06/2017 - 23:35

Okay thanks for that.

 

How exactly can I refer to the specific elements of the JSON file? 

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.