- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi guys,
It is possible to convert from a query result to a JSON object?
This is the query:
var query = xtk.queryDef.create(
<queryDef schema="search:country" operation="select">
<where>
<condition expr={"@codigo_iata='" + iataCode + "'"}/>
</where>
</queryDef>
);
query.SelectAll(false);
result = query.ExecuteQuery();
The result is:
<country-collection> <country codigo_iata="CO" id_pais="1" id_region="5" nombre_aleman="Kolumbien" nombre_espanol="Colombia" nombre_ingles="Colombia" nombre_portugues="Colômbia"/> </country-collection>
Thank you!
Regards,
Raúl
Solved! Go to Solution.