The problem isn't the arrays here, it's the fact that the source of a data binding (i.e. the name
and vicinity
in {Binding name}
and {Binding vicinity}
) must be a property. The objects in your array don't have properties with names name
and vicinity
, so nothing gets shown. In fact, you might even see binding errors in the Output window in Visual Studio, mentioning that it couldn't find name
and vicinity
properties.
I suspect you have got four items in your LongListSelector
, but because none of them have any text in them, they have zero size and you don't see them. Try adding a TextBlock
with some static text (e.g. <TextBlock Text="X"/>
) to your StackPanel
to see if four X
s appear.
If you just need to show the JSON read-only, then it should be possible to deserialize the JSON to anonymous types. An anonymous type will then be created for each JSON object, with one (.NET) property for each property in the JSON object. See for example this question. With any luck that should work, however, I haven't tested it.