Hello there!
So, i finally could retrieve info from a web service using json, my rule stores the content from the json in a text field. but that content is shown over my field as the json returns it :
[{"tipo_doc_rua":1,"doc_rua":72432937,"primer_nombre":"EDWIN","segundo_nombre":"RAFAEL","primer_apellido":"ESCORCIA","segundo_apellido":"PATERNINA","fecha_nacimiento":"19830603T00:00:00Z","estado":1}]
im needing to parse or separate that content to fill a table element , and im trying to use the "JSON.parse" function but abbyy returns me a " JSON not defined" error. im not sure if abbyy supports that function although im using jscript to build my rule.
thank you for your opinion.!
Comments
1 comment
Hi Cristian,
We've tried to parse the json you gave with the following command: JSON.parse('[{"tipo_doc_rua":1,"doc_rua":72432937,"primer_nombre":"EDWIN","segundo_nombre":"RAFAEL","primer_apellido":"ESCORCIA","segundo_apellido":"PATERNINA","fecha_nacimiento":"19830603T00:00:00Z","estado":1}]')
Using it, the json was parsed correctly. If you still have an issue, please send us your code in which you use this json. You can send it to our email SDK_Support@abbyy.com if you want.
Please sign in to leave a comment.