Note that there are some explanatory texts on larger screens.

plurals
  1. POAccess Elements in JSON File Using C#
    primarykey
    data
    text
    <p>I have an JSON result like this</p> <pre><code>{ "authenticationResultCode":"ValidCredentials", "brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png", "copyright":"Copyright © 2011 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.", "resourceSets":[ { "estimatedTotal":1, "resources":[ { "__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1", "bbox":[ 47.636257744012461, -122.13735364288299, 47.643983179153814, -122.12206713944467 ], "name":"1 Microsoft Way, Redmond, WA 98052", "point":{ "type":"Point", "coordinates":[ 47.640120461583138, -122.12971039116383 ] }, "address":{ "addressLine":"1 Microsoft Way", "adminDistrict":"WA", "adminDistrict2":"King Co.", "countryRegion":"United States", "formattedAddress":"1 Microsoft Way, Redmond, WA 98052", "locality":"Redmond", "postalCode":"98052" }, "confidence":"High", "entityType":"Address", "geocodePoints":[ { "type":"Point", "coordinates":[ 47.640120461583138, -122.12971039116383 ], "calculationMethod":"InterpolationOffset", "usageTypes":[ "Display" ] }, { "type":"Point", "coordinates":[ 47.640144601464272, -122.12976671755314 ], "calculationMethod":"Interpolation", "usageTypes":[ "Route" ] } ], "matchCodes":[ "Good" ] } ] } ], "statusCode":200, "statusDescription":"OK", "traceId":"b0b1286504404eafa7e7dad3e749d570" } </code></pre> <p>I want to get a list of objects, and every object will contain the value of coordinates</p> <p>So how can access these element by name?</p> <p>I am using C# as a code behind.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload