var iconData = {
"at": { width: 24, height: 24 },
"by": { width: 24, height: 24 },
"be": { width: 24, height: 24 },
"cy": { width: 24, height: 24 },
"cz": { width: 24, height: 24 },
"ee": { width: 24, height: 24 },
"fi": { width: 24, height: 24 },
"fr": { width: 24, height: 24 },
"de": { width: 24, height: 24 },
"gr": { width: 24, height: 24 },
"hu": { width: 24, height: 24 },
"ei": { width: 24, height: 24 },
"it": { width: 24, height: 24 },
"lv": { width: 24, height: 24 },
"lt": { width: 24, height: 24 },
"mt": { width: 24, height: 24 },
"nl": { width: 24, height: 24 },
"no": { width: 24, height: 24 },
"pl": { width: 24, height: 24 },
"pt": { width: 24, height: 24 },
"ro": { width: 24, height: 24 },
"ru": { width: 24, height: 24 },
"sk": { width: 24, height: 24 },
"es": { width: 24, height: 24 },
"ch": { width: 24, height: 24 },
"ua": { width: 24, height: 24 },
"uk": { width: 24, height: 24 },
"shadow": { width: 40, height: 30 },
"flirtclub": { width: 32, height: 37 },
"flirtclub_closed": { width: 32, height: 37 },
"massage": { width: 32, height: 37 },
"massage_closed": { width: 32, height: 37 },
"nightclub": { width: 32, height: 37 },
"nightclub_closed": { width: 32, height: 37 },
"private": { width: 32, height: 37 },
"private_closed": { width: 32, height: 37 },
"redlight": { width: 32, height: 37 },
"redlight_closed": { width: 32, height: 37 },
"saunaclub": { width: 32, height: 37 },
"saunaclub_closed": { width: 32, height: 37 },
"stripclub": { width: 32, height: 37 },
"stripclub_closed": { width: 32, height: 37 },
"venue_active": { width: 32, height: 37 }
};Estou a tentar usar o JsonConvert e a tentar deserializar o objecto da seguinte forma:
dynamic moreInfo = JsonConvert.DeserializeObject(json);
No entanto o erro que me dá é o seguinte:Unexpected character encountered while parsing value: v. Path '', line 0, position 0.
Algué me pode dar uma dica como resolver isto?--
--
Você recebeu esta mensagem por fazer parte da lista de discussão oficial da Comunidade NetPonto (http://netponto.org).
---
Recebeu esta mensagem porque está inscrito no grupo "NetPonto.org - Lista de Discussao Oficial" dos Grupos do Google.
Para anular a subscrição deste grupo e parar de receber emails deste grupo, envie um email para netponto+u...@googlegroups.com.
Para mais opções, consulte https://groups.google.com/groups/opt_out.
A diferença caio é que a string não tem 2 " por cada field..será esse o problema?
2013/4/27 Pedro Pereira <cyberaf...@gmail.com>Estou a ler de uma página web e estou a ir ao ficheiro Java script e leio como string mas isso o que não percebo é que se tu consegues porque não consigo também?
Estou a ler de uma página web e estou a ir ao ficheiro Java script e leio como string mas isso o que não percebo é que se tu consegues porque não consigo também?