vendredi 31 juillet 2015

obtain values to json file

I am making an application in vb net, and read JSON format files. I know how, but I have a file that has a different format, you can see here:

{
  "objects": {
    "realms/lang/de_DE.lang": {
      "hash": "729b2c09d5c588787b23127eeda2730f9c039194",
      "size": 7784
    },
    "realms/lang/cy_GB.lang": {
      "hash": "7b52463b2df4685d2d82c5d257fd5ec79843d618",
      "size": 7688
    },
    "minecraft/sounds/mob/blaze/breathe4.ogg": {
      "hash": "78d544a240d627005aaef6033fd646eafc66fe7a",
      "size": 22054
    },
    "minecraft/sounds/dig/sand4.ogg": {
      "hash": "37afa06f97d58767a1cd1382386db878be1532dd",
      "size": 5491
    }
  }
}

It is different because all text has objects, no string, so I can not read it defined classes. I just need the values of "hash", then add them to a textbox. I hope you can help me.

Aucun commentaire:

Enregistrer un commentaire