IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Android Discussion :

Problème de parsage en Json


Sujet :

Android

  1. #1
    Membre éprouvé Avatar de Flow_75
    Femme Profil pro
    Ingénieure
    Inscrit en
    Mai 2005
    Messages
    1 097
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Ingénieure
    Secteur : Transports

    Informations forums :
    Inscription : Mai 2005
    Messages : 1 097
    Par défaut Problème de parsage en Json
    Bonjour,

    Voila, j'essaye de recuperer des infos dans une trame JSON.

    Quand j'essaye de prendre une array qui contient deux éléments (theaterShowtimes) il ne me trouve qu'un éléments. Seul le deuxieme est pris en compte, l'attribut "theater" est ignoré.

    le code que j'utilise :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    JSONObject jsonObject = new JSONObject(stringBuilder.toString());
    JSONObject jsonFeed   = jsonObject.getJSONObject("feed");
    JSONArray  jsonInfo   = jsonFeed.getJSONArray("theaterShowtimes");
    quand je fait un

    La valeur retournée est '1' et le tableau correspond à l'attribut "movieShowtimes"

    Y aurait il quelqu'un pour m'aider ?
    Merci.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    {"feed":{"updated":"2011-06-24","page":1,"count":10,"totalResults":1,"theaterShowtimes":[{"theater":{"code":"C0159","name":"UGC Ciné Cité Les Halles","address":"7, place de la Rotonde Paris","postalCode":"75001","city":"Paris 1er arrondissement","picture":{"href":"http://images.allocine.fr/medias/nmedia/18/72/94/05/19184188.jpg"},"subway":"et RER Chatelet-Les-Halles","latitude":48.8626115,"longitude":2.3453450},"movieShowtimes":[{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8686&CINEMA=HORIZ&VERSION=MO&PARTENAIRE=ALL&JOUR=7&HORAIRE=21h00","preview":true,"releaseWeek":false,"movie":{"code":144795,"title":"Transformers 3 - La Face cachée de la Lune","castingShort":{"director":"Michael Bay","actors":"Shia LaBeouf, Rosie Huntington-Whiteley, Patrick Dempsey, Josh Duhamel, Tyrese Gibson"},"release":{"releaseDate":"2011-06-29"},"runtime":9300,"genre":[{"code":"13021","$":"Science fiction"},{"code":"13025","$":"Action"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/79/54/19/19734117.jpg"},"trailer":{"code":19216385,"href":"http://www.allocine.fr/blogvision/19216385"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110003","$":"3D"},"scr":[{"d":"2011-06-28","t":[{"p":15,"$":"21:00"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8687&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h15","preview":false,"releaseWeek":false,"movie":{"code":143048,"title":"Kung Fu Panda 2","castingShort":{"director":"Jennifer Yuh","actors":"Jack Black, Angelina Jolie, Dustin Hoffman, Jackie Chan, Lucy Liu"},"release":{"releaseDate":"2011-06-15"},"runtime":5700,"genre":[{"code":"13026","$":"Animation"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/81/96/03/19723216.jpg"},"trailer":{"code":19203436,"href":"http://www.allocine.fr/blogvision/19203436"}},"version":{"original":false,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-25","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:20"},{"p":15,"$":"13:15"},{"p":15,"$":"15:10"},{"p":15,"$":"17:05"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:20"},{"p":15,"$":"13:15"},{"p":15,"$":"15:10"},{"p":15,"$":"17:05"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:20"},{"p":15,"$":"13:15"},{"p":15,"$":"15:10"},{"p":15,"$":"17:05"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:20"},{"p":15,"$":"13:15"},{"p":15,"$":"15:10"},{"p":15,"$":"17:05"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8687&CINEMA=HORIZ&VERSION=MO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h10","preview":false,"releaseWeek":false,"movie":{"code":143048,"title":"Kung Fu Panda 2","castingShort":{"director":"Jennifer Yuh","actors":"Jack Black, Angelina Jolie, Dustin Hoffman, Jackie Chan, Lucy Liu"},"release":{"releaseDate":"2011-06-15"},"runtime":5700,"genre":[{"code":"13026","$":"Animation"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/81/96/03/19723216.jpg"},"trailer":{"code":19203436,"href":"http://www.allocine.fr/blogvision/19203436"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110003","$":"3D"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:40"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:40"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:40"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:40"}]},{"d":"2011-06-28","t":[{"p":15,"$":"18:45"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8676&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h15","preview":false,"releaseWeek":false,"movie":{"code":140894,"title":"X-Men: Le Commencement","castingShort":{"director":"Matthew Vaughn","actors":"James McAvoy, Michael Fassbender, Kevin Bacon, Jennifer Lawrence, Rose Byrne"},"release":{"releaseDate":"2011-06-01"},"runtime":7800,"genre":[{"code":"13021","$":"Science fiction"},{"code":"13025","$":"Action"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/44/48/19732066.jpg"},"trailer":{"code":19216677,"href":"http://www.allocine.fr/blogvision/19216677"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:50"},{"p":15,"$":"14:25"},{"p":15,"$":"17:00"},{"p":15,"$":"19:35"},{"p":15,"$":"22:10"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:50"},{"p":15,"$":"14:25"},{"p":15,"$":"17:00"},{"p":15,"$":"19:35"},{"p":15,"$":"22:10"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:50"},{"p":15,"$":"14:25"},{"p":15,"$":"17:00"},{"p":15,"$":"19:35"},{"p":15,"$":"22:10"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:50"},{"p":15,"$":"14:25"},{"p":15,"$":"17:00"},{"p":15,"$":"19:35"},{"p":15,"$":"22:10"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:50"},{"p":15,"$":"14:25"},{"p":15,"$":"17:00"},{"p":15,"$":"19:35"},{"p":15,"$":"22:10"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8632&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h10","preview":false,"releaseWeek":true,"movie":{"code":179173,"title":"L'Elève Ducobu","castingShort":{"director":"Philippe de Chauveron","actors":"Elie Semoun, Joséphine de Meaux, Vincent Claude, Bruno Podalydès, Juliette Chappey"},"release":{"releaseDate":"2011-06-22"},"runtime":5760,"genre":[{"code":"13005","$":"Comédie"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/79/86/48/19736959.jpg"},"trailer":{"code":19218921,"href":"http://www.allocine.fr/blogvision/19218921"}},"version":{"original":false,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8653&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h10","preview":false,"releaseWeek":false,"movie":{"code":147508,"title":"Very Bad Trip 2","castingShort":{"director":"Todd Phillips","actors":"Bradley Cooper, Ed Helms, Zach Galifianakis, Justin Bartha, Ken Jeong"},"release":{"releaseDate":"2011-05-25"},"runtime":6120,"genre":[{"code":"13005","$":"Comédie"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/82/09/89/19715770.jpg"},"trailer":{"code":19210722,"href":"http://www.allocine.fr/blogvision/19210722"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:35"},{"p":15,"$":"13:45"},{"p":15,"$":"15:55"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:35"},{"p":15,"$":"13:45"},{"p":15,"$":"15:55"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:35"},{"p":15,"$":"13:45"},{"p":15,"$":"15:55"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:35"},{"p":15,"$":"13:45"},{"p":15,"$":"15:55"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:35"},{"p":15,"$":"13:45"},{"p":15,"$":"15:55"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8655&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h10","preview":false,"releaseWeek":false,"movie":{"code":178300,"title":"Minuit à Paris","castingShort":{"director":"Woody Allen","actors":"Owen Wilson, Rachel McAdams, Michael Sheen, Marion Cotillard, Kathy Bates"},"release":{"releaseDate":"2011-05-11"},"runtime":5640,"genre":[{"code":"13005","$":"Comédie"},{"code":"13024","$":"Romance"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/07/18/19702766.jpg"},"trailer":{"code":19209502,"href":"http://www.allocine.fr/blogvision/19209502"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:05"},{"p":15,"$":"13:00"},{"p":15,"$":"14:55"},{"p":15,"$":"16:50"},{"p":15,"$":"18:45"},{"p":15,"$":"20:40"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8659&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=19h25","preview":false,"releaseWeek":false,"movie":{"code":132244,"title":"The Tree of Life","castingShort":{"director":"Terrence Malick","actors":"Brad Pitt, Jessica Chastain, Sean Penn, Joanna Going, Fiona Shaw"},"release":{"releaseDate":"2011-05-17"},"runtime":8280,"genre":[{"code":"13008","$":"Drame"},{"code":"13012","$":"Fantastique"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/22/48/19704053.jpg"},"trailer":{"code":19203028,"href":"http://www.allocine.fr/blogvision/19203028"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"19:25"},{"p":15,"$":"22:05"}]},{"d":"2011-06-25","t":[{"p":15,"$":"19:25"},{"p":15,"$":"22:05"}]},{"d":"2011-06-26","t":[{"p":15,"$":"19:25"},{"p":15,"$":"22:05"}]},{"d":"2011-06-27","t":[{"p":15,"$":"19:25"},{"p":15,"$":"22:05"}]},{"d":"2011-06-28","t":[{"p":15,"$":"19:25"},{"p":15,"$":"22:05"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8634&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h20","preview":false,"releaseWeek":false,"movie":{"code":129365,"title":"Le Chat du rabbin","castingShort":{"director":"Joann Sfar, Antoine Delesvaux","actors":"François Morel, Maurice Bénichou, Hafsia Herzi, François Damiens, Mathieu Amalric"},"release":{"releaseDate":"2011-06-01"},"runtime":6000,"genre":[{"code":"13026","$":"Animation"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/71/26/48/19723563.jpg"},"trailer":{"code":19214108,"href":"http://www.allocine.fr/blogvision/19214108"}},"version":{"original":true,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:35"},{"p":15,"$":"20:30"},{"p":15,"$":"22:25"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:35"},{"p":15,"$":"20:30"},{"p":15,"$":"22:25"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:35"},{"p":15,"$":"20:30"},{"p":15,"$":"22:25"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:35"},{"p":15,"$":"20:30"},{"p":15,"$":"22:25"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:35"},{"p":15,"$":"20:30"},{"p":15,"$":"22:25"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8683&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h10","preview":false,"releaseWeek":false,"movie":{"code":135564,"title":"Limitless","castingShort":{"director":"Neil Burger","actors":"Bradley Cooper, Robert De Niro, Abbie Cornish, Anna Friel, Johnny Whitworth"},"release":{"releaseDate":"2011-06-08"},"runtime":6300,"genre":[{"code":"13023","$":"Thriller"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/82/56/25/19720797.jpg"},"trailer":{"code":19216273,"href":"http://www.allocine.fr/blogvision/19216273"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:55"},{"p":15,"$":"18:10"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:55"},{"p":15,"$":"18:10"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:55"},{"p":15,"$":"18:10"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:55"},{"p":15,"$":"18:10"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:10"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:55"},{"p":15,"$":"18:10"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8665&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h20","preview":false,"releaseWeek":false,"movie":{"code":189616,"title":"Une Séparation","castingShort":{"director":"Asghar Farhadi","actors":"Leila Hatami, Peyman Moadi, Shahab Hosseini, Sareh Bayat, Sarina Farhadi"},"release":{"releaseDate":"2011-06-08"},"runtime":7380,"genre":[{"code":"13008","$":"Drame"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/21/17/19723476.jpg"},"trailer":{"code":19214309,"href":"http://www.allocine.fr/blogvision/19214309"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:45"},{"p":15,"$":"14:30"},{"p":15,"$":"17:00"},{"p":15,"$":"19:30"},{"p":15,"$":"22:05"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:45"},{"p":15,"$":"14:30"},{"p":15,"$":"17:00"},{"p":15,"$":"19:30"},{"p":15,"$":"22:05"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:45"},{"p":15,"$":"14:30"},{"p":15,"$":"17:00"},{"p":15,"$":"19:30"},{"p":15,"$":"22:05"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:45"},{"p":15,"$":"14:30"},{"p":15,"$":"17:00"},{"p":15,"$":"19:30"},{"p":15,"$":"22:05"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:45"},{"p":15,"$":"14:30"},{"p":15,"$":"17:00"},{"p":15,"$":"19:30"},{"p":15,"$":"22:05"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8667&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h20","preview":false,"releaseWeek":true,"movie":{"code":182349,"title":"Omar m'a tuer","castingShort":{"director":"Roschdy Zem","actors":"Sami Bouajila, Denis Podalydès, Maurice Bénichou, Salomé Stévenin, Nozha Khouadra"},"release":{"releaseDate":"2011-06-22"},"runtime":5100,"genre":[{"code":"13008","$":"Drame"},{"code":"13018","$":"Policier"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/82/64/71/19723261.jpg"},"trailer":{"code":19216589,"href":"http://www.allocine.fr/blogvision/19216589"}},"version":{"original":false,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:15"},{"p":15,"$":"13:05"},{"p":15,"$":"14:55"},{"p":15,"$":"16:45"},{"p":15,"$":"18:35"},{"p":15,"$":"20:25"},{"p":15,"$":"22:25"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:15"},{"p":15,"$":"13:05"},{"p":15,"$":"14:55"},{"p":15,"$":"16:45"},{"p":15,"$":"18:35"},{"p":15,"$":"20:25"},{"p":15,"$":"22:25"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:15"},{"p":15,"$":"13:05"},{"p":15,"$":"14:55"},{"p":15,"$":"16:45"},{"p":15,"$":"18:35"},{"p":15,"$":"20:25"},{"p":15,"$":"22:25"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:15"},{"p":15,"$":"13:05"},{"p":15,"$":"14:55"},{"p":15,"$":"16:45"},{"p":15,"$":"18:35"},{"p":15,"$":"20:25"},{"p":15,"$":"22:25"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:15"},{"p":15,"$":"13:05"},{"p":15,"$":"14:55"},{"p":15,"$":"16:45"},{"p":15,"$":"18:35"},{"p":15,"$":"20:25"},{"p":15,"$":"22:25"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8669&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h15","preview":false,"releaseWeek":false,"movie":{"code":182603,"title":"Insidious","castingShort":{"director":"James Wan","actors":"Patrick Wilson, Rose Byrne, Ty Simpkins, Andrew Astor, Lin Shaye"},"release":{"releaseDate":"2011-06-15"},"runtime":6120,"genre":[{"code":"13009","$":"Epouvante-horreur"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/82/91/46/19720507.jpg"},"trailer":{"code":19208922,"href":"http://www.allocine.fr/blogvision/19208922"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:45"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:30"},{"p":15,"$":"22:45"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:45"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:30"},{"p":15,"$":"22:45"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:45"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:30"},{"p":15,"$":"22:45"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:45"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:30"},{"p":15,"$":"22:45"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:45"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:30"},{"p":15,"$":"22:45"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8690&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h05","preview":false,"releaseWeek":false,"movie":{"code":136044,"title":"L'Affaire Rachel Singer","castingShort":{"director":"John Madden","actors":"Helen Mirren, Sam Worthington, Tom Wilkinson, Jessica Chastain, Marton Csokas"},"release":{"releaseDate":"2011-06-15"},"runtime":7200,"genre":[{"code":"13023","$":"Thriller"},{"code":"13008","$":"Drame"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/72/60/19704955.jpg"},"trailer":{"code":19147884,"href":"http://www.allocine.fr/blogvision/19147884"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8668&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h15","preview":false,"releaseWeek":false,"movie":{"code":185509,"title":"Pourquoi tu pleures ?","castingShort":{"director":"Katia Lewkowicz","actors":"Benjamin Biolay, Emmanuelle Devos, Nicole Garcia, Valérie Donzelli, Sarah Adler"},"release":{"releaseDate":"2011-06-15"},"runtime":5940,"genre":[{"code":"13005","$":"Comédie"},{"code":"13024","$":"Romance"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/82/50/87/19726893.jpg"},"trailer":{"code":19213334,"href":"http://www.allocine.fr/blogvision/19213334"}},"version":{"original":false,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:30"},{"p":15,"$":"13:45"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:30"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:30"},{"p":15,"$":"13:45"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:30"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:30"},{"p":15,"$":"13:45"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:30"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:30"},{"p":15,"$":"13:45"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:30"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:30"},{"p":15,"$":"13:45"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:30"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8675&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h05","preview":false,"releaseWeek":false,"movie":{"code":136215,"title":"The Prodigies","castingShort":{"director":"Antoine Charreyron","actors":"Jeffrey Evan Thomas, Jacob Rosenbaum, Dominic Gould, Moon Dailly Monira, Isabelle Van Waes"},"release":{"releaseDate":"2011-06-08"},"runtime":5220,"genre":[{"code":"13026","$":"Animation"},{"code":"13021","$":"Science fiction"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/80/86/19709041.jpg"},"trailer":{"code":19211021,"href":"http://www.allocine.fr/blogvision/19211021"}},"version":{"original":true,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:00"},{"p":15,"$":"12:55"},{"p":15,"$":"14:50"},{"p":15,"$":"16:45"},{"p":15,"$":"18:40"},{"p":15,"$":"20:35"},{"p":15,"$":"22:30"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:00"},{"p":15,"$":"12:55"},{"p":15,"$":"14:50"},{"p":15,"$":"16:45"},{"p":15,"$":"18:40"},{"p":15,"$":"20:35"},{"p":15,"$":"22:30"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:00"},{"p":15,"$":"12:55"},{"p":15,"$":"14:50"},{"p":15,"$":"16:45"},{"p":15,"$":"18:40"},{"p":15,"$":"20:35"},{"p":15,"$":"22:30"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:00"},{"p":15,"$":"12:55"},{"p":15,"$":"14:50"},{"p":15,"$":"16:45"},{"p":15,"$":"18:40"},{"p":15,"$":"20:35"},{"p":15,"$":"22:30"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:00"},{"p":15,"$":"12:55"},{"p":15,"$":"14:50"},{"p":15,"$":"16:45"},{"p":15,"$":"18:40"},{"p":15,"$":"20:35"},{"p":15,"$":"22:30"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8684&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h15","preview":false,"releaseWeek":false,"movie":{"code":174327,"title":"Beginners","castingShort":{"director":"Mike Mills","actors":"Ewan McGregor, Mélanie Laurent, Christopher Plummer, Goran Visnjic, Bill Oberst Jr."},"release":{"releaseDate":"2011-06-15"},"runtime":6240,"genre":[{"code":"13002","$":"Comédie dramatique"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/45/46/19733147.jpg"},"trailer":{"code":19209243,"href":"http://www.allocine.fr/blogvision/19209243"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:40"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:40"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:40"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:40"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:40"},{"p":15,"$":"13:50"},{"p":15,"$":"16:00"},{"p":15,"$":"18:15"},{"p":15,"$":"20:25"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8681&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h20","preview":false,"releaseWeek":true,"movie":{"code":177409,"title":"Balada Triste","castingShort":{"director":"Álex de la Iglesia","actors":"Carlos Areces, Antonio de la Torre, Carolina Bang, Sancho Gracia, Juan Luis Galiardo"},"release":{"releaseDate":"2011-06-22"},"runtime":6420,"genre":[{"code":"13002","$":"Comédie dramatique"},{"code":"13008","$":"Drame"},{"code":"13005","$":"Comédie"},{"code":"13014","$":"Guerre"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/84/54/82/19746172.jpg"},"trailer":{"code":19227512,"href":"http://www.allocine.fr/blogvision/19227512"}},"version":{"original":true,"lang":6003,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:15"},{"p":15,"$":"22:25"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:15"},{"p":15,"$":"22:25"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:15"},{"p":15,"$":"22:25"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:15"},{"p":15,"$":"22:25"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:30"},{"p":15,"$":"13:40"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:15"},{"p":15,"$":"22:25"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8678&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h15","preview":false,"releaseWeek":true,"movie":{"code":185294,"title":"Pater","castingShort":{"director":"Alain Cavalier","actors":"Vincent Lindon, Alain Cavalier, Bernard Bureau, Jonathan Duong, Hubert-Ange Fumey"},"release":{"releaseDate":"2011-06-22"},"runtime":6300,"genre":[{"code":"13002","$":"Comédie dramatique"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/94/39/19746116.jpg"},"trailer":{"code":19219319,"href":"http://www.allocine.fr/blogvision/19219319"}},"version":{"original":false,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:25"},{"p":15,"$":"13:35"},{"p":15,"$":"15:45"},{"p":15,"$":"18:00"},{"p":15,"$":"20:10"},{"p":15,"$":"22:20"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:25"},{"p":15,"$":"13:35"},{"p":15,"$":"15:45"},{"p":15,"$":"18:00"},{"p":15,"$":"20:10"},{"p":15,"$":"22:20"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:25"},{"p":15,"$":"13:35"},{"p":15,"$":"15:45"},{"p":15,"$":"18:00"},{"p":15,"$":"20:10"},{"p":15,"$":"22:20"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:25"},{"p":15,"$":"13:35"},{"p":15,"$":"15:45"},{"p":15,"$":"18:00"},{"p":15,"$":"20:10"},{"p":15,"$":"22:20"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:15"},{"p":15,"$":"11:25"},{"p":15,"$":"13:35"},{"p":15,"$":"15:45"},{"p":15,"$":"18:00"},{"p":15,"$":"20:10"},{"p":15,"$":"22:20"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8694&CINEMA=HORIZ&VERSION=VO&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h05","preview":false,"releaseWeek":false,"movie":{"code":131494,"title":"Blue Valentine","castingShort":{"director":"Derek Cianfrance","actors":"Ryan Gosling, Michelle Williams, Mike Vogel, Faith Wladyka, John Doman"},"release":{"releaseDate":"2011-06-15"},"runtime":6840,"genre":[{"code":"13024","$":"Romance"},{"code":"13008","$":"Drame"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/73/85/38/19719803.jpg"},"trailer":{"code":19222927,"href":"http://www.allocine.fr/blogvision/19222927"}},"version":{"original":true,"lang":6002,"$":"Anglais"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:05"},{"p":15,"$":"11:20"},{"p":15,"$":"13:35"},{"p":15,"$":"15:50"},{"p":15,"$":"18:05"},{"p":15,"$":"20:20"},{"p":15,"$":"22:35"}]}]},{"ticketing":"http://www.ugc.fr/reservation-choose-cards.do?FILM=8689&CINEMA=HORIZ&VERSION=VF&PARTENAIRE=ALL&JOUR=1&HORAIRE=09h20","preview":false,"releaseWeek":true,"movie":{"code":179068,"title":"Mike","castingShort":{"director":"Lars Blumers","actors":"Marc-André Grondin, Christa Theret, Eric Elmosnino, Olivier Barthelemy, Monir Ait Hamou"},"release":{"releaseDate":"2011-06-22"},"runtime":5160,"genre":[{"code":"13002","$":"Comédie dramatique"}],"poster":{"href":"http://images.allocine.fr/medias/nmedia/18/83/78/38/19756936.jpg"},"trailer":{"code":19218697,"href":"http://www.allocine.fr/blogvision/19218697"}},"version":{"original":false,"lang":6001,"$":"Français"},"screenFormat":{"code":"110001"},"scr":[{"d":"2011-06-24","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:30"},{"p":15,"$":"20:20"},{"p":15,"$":"22:20"}]},{"d":"2011-06-25","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:30"},{"p":15,"$":"20:20"},{"p":15,"$":"22:20"}]},{"d":"2011-06-26","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:30"},{"p":15,"$":"20:20"},{"p":15,"$":"22:20"}]},{"d":"2011-06-27","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:30"},{"p":15,"$":"20:20"},{"p":15,"$":"22:20"}]},{"d":"2011-06-28","t":[{"p":15,"$":"09:20"},{"p":15,"$":"11:10"},{"p":15,"$":"13:00"},{"p":15,"$":"14:50"},{"p":15,"$":"16:40"},{"p":15,"$":"18:30"},{"p":15,"$":"20:20"},{"p":15,"$":"22:20"}]}]}]}]}}

  2. #2
    Membre chevronné
    Homme Profil pro
    IUT Informatique
    Inscrit en
    Mars 2011
    Messages
    412
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : IUT Informatique

    Informations forums :
    Inscription : Mars 2011
    Messages : 412
    Par défaut
    Bonjour,

    J'ai un peu de mal à comprendre ta question, mais du code que tu me montre, il faudrait que tu fasse une boucle pour récupérer toutes tes valeurs dans on jsonObject

  3. #3
    Membre éprouvé Avatar de Flow_75
    Femme Profil pro
    Ingénieure
    Inscrit en
    Mai 2005
    Messages
    1 097
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Ingénieure
    Secteur : Transports

    Informations forums :
    Inscription : Mai 2005
    Messages : 1 097
    Par défaut
    Citation Envoyé par malgache Voir le message
    Bonjour,

    J'ai un peu de mal à comprendre ta question, mais du code que tu me montre, il faudrait que tu fasse une boucle pour récupérer toutes tes valeurs dans on jsonObject
    Merci de ta réponse.
    En faite dans la variable theaterShowtimes, il y a deux objets : "theater" et "movieShowtimes" mais quand je cherche à obtenir ces deux objets, via un

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    getJSONArray("theaterShowtimes");
    Je n'obtiens que l'objet "movieShowtimes"

    Après, je ne sais pas si c'est la bonne methode que j'utilise.....

  4. #4
    Modérateur

    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    12 579
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2004
    Messages : 12 579
    Par défaut
    En JSON, les élément d'un tableau n'ont pas de nom.
    Il ne peut pas y avoir deux objets "theater" et "movieShowtimes" dans un tableau, parce que "theater" et "movieShowtimes" sont des noms, et que le contenu d'un tableau n'a pas de nom.

    Donc déjà rien qu'en lisant ça on peut être sûr que tu t'es trompé.

    Reste à voir où. En réindentant et en utilisant un éditeur compatible JSON, ont voit qu'au final, ce JSON ressemble à ça :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    {"feed": {
      "count": 10,
      "totalResults": 1,
      "page": 1,
      "updated": "2011-06-24",
      "theaterShowtimes": [{
        "theater": {
          "picture": {"href": "http://images.allocine.fr/medias/nmedia/18/72/94/05/19184188.jpg"},
          // des trucs
        },
        "movieShowtimes": [
          // plein de trucs
        ]
      }]
    }}
    Conclusion : theaterShowtimes est un tableau, qui contient un seul objet.
    Cet objet a deux propriétés : "theater", qui est aussi un objet, et "movieShowtimes" qui est un tableau.
    N'oubliez pas de consulter les FAQ Java et les cours et tutoriels Java

  5. #5
    Membre éprouvé Avatar de Flow_75
    Femme Profil pro
    Ingénieure
    Inscrit en
    Mai 2005
    Messages
    1 097
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Ingénieure
    Secteur : Transports

    Informations forums :
    Inscription : Mai 2005
    Messages : 1 097
    Par défaut
    Merci de votre aide.

    C'est sur que vue sous cet angle, ca marche mieux. .

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Dojo] 1.6.1 : dijit.tree et json
    Par arsene555 dans le forum Bibliothèques & Frameworks
    Réponses: 7
    Dernier message: 09/09/2011, 14h37
  2. [MySQL] Problème de parsage d'un fichier xml de 12 Go
    Par totoAussi dans le forum PHP & Base de données
    Réponses: 2
    Dernier message: 27/08/2011, 00h40
  3. problème de parsage
    Par perloutta dans le forum Android
    Réponses: 15
    Dernier message: 14/04/2011, 09h40
  4. Problème de parsage dans un "parsage"
    Par stansoad0108 dans le forum Langage
    Réponses: 3
    Dernier message: 22/04/2008, 10h17
  5. Problème de parsage
    Par stansoad0108 dans le forum Modules
    Réponses: 8
    Dernier message: 31/03/2008, 10h08

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo