Hi all, How do you parse and store json data in a entity effectively.? We got some json data from facebook with userid, firstname, lastname and so on.But what we would like to do is parse that data and store it in an entity with separate fields like userid, firstname, lastname etc to make a record of that user. we tried to use the getstring function to separate the id and tried to commit to the entity , but it didn't work. Any help will be really appreciated.
asked
Ajith Varughese
2 answers
1
The REST module could help you here. It comes with utility functions that allow you to parse JSON into Mendix objects.
answered
Marcel Groeneweg (Synobsys)
1
Depending on the JSON format the Rest module should work, otherwise you will need a custom JSON parser in Java.