Heyho Leute,
ich wollte fragen wie man diesen JSON Code am besten splitten könnte:
[XML][{"eg_transactionid":"73797","eg_from":"3647063","eg_fromusername":".M\u00f8rris'","eg_to":"604972","eg_tousername":"ManniL","amount":"26","note":"","dateline":"1317131649"},{"eg_transactionid":"73796","eg_from":"604972","eg_fromusername":"ManniL","eg_to":"3493469","eg_tousername":".-ExPeN\u0099","amount":"50","note":"Back 4 Intro","dateline":"1317131002"},{"eg_transactionid":"73586","eg_from":"3288141","eg_fromusername":"Roach'","eg_to":"604972","eg_tousername":"ManniL","amount":"420","note":"","dateline":"1316981450"},{"eg_transactionid":"73470","eg_from":"3575360","eg_fromusername":"ArianaGrande.","eg_to":"604972","eg_tousername":"ManniL","amount":"65","note":"","dateline":"1316951200"},{"eg_transactionid":"73463","eg_from":"3003833","eg_fromusername":"Dustin22","eg_to":"604972","eg_tousername":"ManniL","amount":"35","note":"","dateline":"1316947959"},[/XML]
Ich möchte diesen in ein jTextPane einfügen. Am wichtigsten ist: eg_tousername, amount, eg_fromusername, note.
MfG
manniL
ich wollte fragen wie man diesen JSON Code am besten splitten könnte:
[XML][{"eg_transactionid":"73797","eg_from":"3647063","eg_fromusername":".M\u00f8rris'","eg_to":"604972","eg_tousername":"ManniL","amount":"26","note":"","dateline":"1317131649"},{"eg_transactionid":"73796","eg_from":"604972","eg_fromusername":"ManniL","eg_to":"3493469","eg_tousername":".-ExPeN\u0099","amount":"50","note":"Back 4 Intro","dateline":"1317131002"},{"eg_transactionid":"73586","eg_from":"3288141","eg_fromusername":"Roach'","eg_to":"604972","eg_tousername":"ManniL","amount":"420","note":"","dateline":"1316981450"},{"eg_transactionid":"73470","eg_from":"3575360","eg_fromusername":"ArianaGrande.","eg_to":"604972","eg_tousername":"ManniL","amount":"65","note":"","dateline":"1316951200"},{"eg_transactionid":"73463","eg_from":"3003833","eg_fromusername":"Dustin22","eg_to":"604972","eg_tousername":"ManniL","amount":"35","note":"","dateline":"1316947959"},[/XML]
Ich möchte diesen in ein jTextPane einfügen. Am wichtigsten ist: eg_tousername, amount, eg_fromusername, note.
MfG
manniL