json json arrays and objects

Json object returned when only one data, this time not json array, to form the transformed results = [{object value}];

queryResults=[results["wfs:FeatureCollection"]["gml:featureMember"]];

results["wfs:FeatureCollection"]["gml:featureMember"]=对象

When a plurality of data objects json, and at that point an array. Directly

 results [ "wfs: FeatureCollection"] [ "gml: featureMember"] is the array.

Guess you like

Origin www.cnblogs.com/webgis-ling/p/11445558.html