I am developing 2 kinds of forms that will be used in ODK-Collect. A desktop application downloads the submissions captured using the 2 kinds of forms…
The desktop app needs to know the source of the JSON string so that the correct function is called to parse the JSON into a class…
What I do is to use the
title key from the form metadata. If certain words appear in the
title then I use this function to parse the JSON.
Is there any other approach I can use, aside from using the
title attribute of the metadata to distinguish the json data coming from 2 e-forms?